Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001243, allocations: 107.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 184.1 kB / 19.38 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1937/0.1937, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3096, allocations: 60.82 MB / 0.5195 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1564/0.4661, allocations: 151 MB / 0.667 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.4679, allocations: 1.324 MB / 0.6683 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.468, allocations: 0 / 0.6683 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.4683, allocations: 43.8 kB / 0.6683 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.4715, allocations: 1.027 MB / 0.6693 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.821e-06/0.4715, allocations: 0 / 0.6693 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.4716, allocations: 47.72 kB / 0.6694 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.4717, allocations: 4 kB / 0.6694 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.4717, allocations: 19.92 kB / 0.6694 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.4718, allocations: 19.92 kB / 0.6694 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.777e-06/0.4718, allocations: 4 kB / 0.6694 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.4749, allocations: 1.79 MB / 0.6711 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.4749, allocations: 11.98 kB / 0.6712 GB, free: 280 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.475, allocations: 23.81 kB / 0.6712 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.4768, allocations: 0.8868 MB / 0.672 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4768, allocations: 3.938 kB / 0.672 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4768, allocations: 0 / 0.672 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.4768, allocations: 0 / 0.672 GB, free: 15.36 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007355/0.4775, allocations: 487.2 kB / 0.6725 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4776, allocations: 12.02 kB / 0.6725 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.4776, allocations: 4.844 kB / 0.6725 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.008e-05/0.4777, allocations: 175.5 kB / 0.6727 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4777, allocations: 0 / 0.6727 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.4778, allocations: 8 kB / 0.6727 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.4779, allocations: 69.66 kB / 0.6728 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4779, allocations: 0 / 0.6728 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.478, allocations: 7.938 kB / 0.6728 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.478, allocations: 4 kB / 0.6728 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.4781, allocations: 55.97 kB / 0.6728 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.4785, allocations: 296.7 kB / 0.6731 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.4786, allocations: 34.52 kB / 0.6732 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.4786, allocations: 12.94 kB / 0.6732 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.4788, allocations: 255.3 kB / 0.6734 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.4789, allocations: 34.5 kB / 0.6734 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4789, allocations: 4 kB / 0.6734 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001734/0.4791, allocations: 61.67 kB / 0.6735 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.4791, allocations: 51.41 kB / 0.6736 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.4792, allocations: 98.05 kB / 0.6736 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.4792, allocations: 25.7 kB / 0.6737 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.4793, allocations: 103.9 kB / 0.6738 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.4793, allocations: 19.69 kB / 0.6738 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.4793, allocations: 21.72 kB / 0.6738 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4794, allocations: 318.8 kB / 0.6741 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.297e-05/0.4795, allocations: 8 kB / 0.6741 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.4795, allocations: 31.42 kB / 0.6741 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.4796, allocations: 59.64 kB / 0.6742 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4796, allocations: 3.938 kB / 0.6742 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001099/0.4797, allocations: 73.56 kB / 0.6743 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4797, allocations: 4 kB / 0.6743 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4798, allocations: 4 kB / 0.6743 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4798, allocations: 4 kB / 0.6743 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.4799, allocations: 11.98 kB / 0.6743 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4799, allocations: 7.938 kB / 0.6743 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.4799, allocations: 11.84 kB / 0.6743 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.4799, allocations: 8.094 kB / 0.6743 GB, free: 12.72 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/0.48, allocations: 109.8 kB / 0.6744 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.48, allocations: 7.938 kB / 0.6744 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.4802, allocations: 65.17 kB / 0.6745 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4802, allocations: 0 / 0.6745 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.4802, allocations: 0 / 0.6745 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4802, allocations: 4 kB / 0.6745 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.4804, allocations: 161.7 kB / 0.6747 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4804, allocations: 3.938 kB / 0.6747 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.4804, allocations: 11.94 kB / 0.6747 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4804, allocations: 0 / 0.6747 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.4805, allocations: 0 / 0.6747 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4805, allocations: 0 / 0.6747 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4805, allocations: 0 / 0.6747 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.4806, allocations: 155.5 kB / 0.6748 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.4806, allocations: 92.97 kB / 0.6749 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.4807, allocations: 0 / 0.6749 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-05/0.4807, allocations: 4 kB / 0.6749 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.4807, allocations: 0 / 0.6749 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.4807, allocations: 4 kB / 0.6749 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.4808, allocations: 79.28 kB / 0.675 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4808, allocations: 0 / 0.675 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004858/0.4813, allocations: 135.9 kB / 0.6751 GB, free: 11.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008309/0.4821, allocations: 330 kB / 0.6754 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.4822, allocations: 23.98 kB / 0.6755 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4823, allocations: 4 kB / 0.6755 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-05/0.4823, allocations: 15.94 kB / 0.6755 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.4825, allocations: 10.8 kB / 0.6755 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.4828, allocations: 165.7 kB / 0.6757 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.4832, allocations: 0.6846 MB / 0.6763 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.4832, allocations: 11.44 kB / 0.6763 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.4832, allocations: 0 / 0.6763 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of Templates: time 0.005148/0.4884, allocations: 2.807 MB / 0.6791 GB, free: 7.703 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches