Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 180.2 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006693/0.0006693, allocations: 90.3 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3766/0.3766, allocations: 43.56 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003881, allocations: 12 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3248/0.47, allocations: 138.1 MB / 0.6136 GB, free: 12.73 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.4714, allocations: 1.126 MB / 0.6147 GB, free: 11.61 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.4715, allocations: 0 / 0.6147 GB, free: 11.61 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.4717, allocations: 26.95 kB / 0.6147 GB, free: 11.59 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.4734, allocations: 0.634 MB / 0.6153 GB, free: 10.97 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.056e-06/0.4734, allocations: 0 / 0.6153 GB, free: 10.97 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.4735, allocations: 75.73 kB / 0.6154 GB, free: 10.89 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.201e-05/0.4736, allocations: 4.547 kB / 0.6154 GB, free: 10.89 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.4736, allocations: 15.92 kB / 0.6154 GB, free: 10.88 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.4737, allocations: 23.92 kB / 0.6154 GB, free: 10.85 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.284e-06/0.4737, allocations: 0 / 0.6154 GB, free: 10.85 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.4758, allocations: 1.439 MB / 0.6168 GB, free: 9.41 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.4759, allocations: 11.98 kB / 0.6168 GB, free: 9.398 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.4759, allocations: 32.33 kB / 0.6169 GB, free: 9.363 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.4766, allocations: 0.4889 MB / 0.6174 GB, free: 8.875 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4766, allocations: 0 / 0.6174 GB, free: 8.875 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4766, allocations: 0 / 0.6174 GB, free: 8.875 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.4766, allocations: 0 / 0.6174 GB, free: 8.875 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005813/0.4772, allocations: 468.6 kB / 0.6178 GB, free: 8.371 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.9e-05/0.4773, allocations: 8.031 kB / 0.6178 GB, free: 8.363 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.4773, allocations: 2.031 kB / 0.6178 GB, free: 8.363 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.886e-05/0.4774, allocations: 171 kB / 0.618 GB, free: 8.156 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.4774, allocations: 0 / 0.618 GB, free: 8.156 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.4775, allocations: 4 kB / 0.618 GB, free: 8.152 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.4776, allocations: 70.69 kB / 0.618 GB, free: 8.078 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.4776, allocations: 0 / 0.618 GB, free: 8.078 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.4776, allocations: 4 kB / 0.618 GB, free: 8.074 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.4777, allocations: 15.94 kB / 0.6181 GB, free: 8.059 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.584e-05/0.4778, allocations: 43.98 kB / 0.6181 GB, free: 8.016 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.4781, allocations: 288.8 kB / 0.6184 GB, free: 7.684 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.329e-05/0.4782, allocations: 38.52 kB / 0.6184 GB, free: 7.637 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.4783, allocations: 12.92 kB / 0.6184 GB, free: 7.621 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.4784, allocations: 93.09 kB / 0.6185 GB, free: 7.512 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.4784, allocations: 38.58 kB / 0.6186 GB, free: 7.465 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4784, allocations: 0 / 0.6186 GB, free: 7.465 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001472/0.4786, allocations: 53.59 kB / 0.6186 GB, free: 7.406 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.4786, allocations: 55.39 kB / 0.6187 GB, free: 7.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.458e-05/0.4787, allocations: 98.89 kB / 0.6188 GB, free: 7.234 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.4787, allocations: 29.64 kB / 0.6188 GB, free: 7.199 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.4788, allocations: 103.9 kB / 0.6189 GB, free: 7.094 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.4788, allocations: 7.906 kB / 0.6189 GB, free: 7.086 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.4788, allocations: 0 / 0.6189 GB, free: 7.086 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.4789, allocations: 310.8 kB / 0.6192 GB, free: 6.773 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.4789, allocations: 12 kB / 0.6192 GB, free: 6.762 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.479, allocations: 31.36 kB / 0.6192 GB, free: 6.719 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.479, allocations: 16 kB / 0.6192 GB, free: 6.703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.479, allocations: 0 / 0.6192 GB, free: 6.703 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001049/0.4791, allocations: 73.56 kB / 0.6193 GB, free: 6.625 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.4791, allocations: 5.594 kB / 0.6193 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.4791, allocations: 0 / 0.6193 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.4792, allocations: 4 kB / 0.6193 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.881e-05/0.4792, allocations: 8 kB / 0.6193 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.4792, allocations: 7.922 kB / 0.6193 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.4793, allocations: 15.94 kB / 0.6194 GB, free: 6.586 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4793, allocations: 4 kB / 0.6194 GB, free: 6.582 MB / 442.7 MB 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/0.4794, allocations: 113.8 kB / 0.6195 GB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.4794, allocations: 8.828 kB / 0.6195 GB, free: 6.453 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.4795, allocations: 57.17 kB / 0.6195 GB, free: 6.395 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4795, allocations: 0 / 0.6195 GB, free: 6.395 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4796, allocations: 0 / 0.6195 GB, free: 6.395 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4796, allocations: 11.94 kB / 0.6195 GB, free: 6.383 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.4797, allocations: 161.6 kB / 0.6197 GB, free: 6.176 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.4797, allocations: 4 kB / 0.6197 GB, free: 6.172 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.4798, allocations: 5.188 kB / 0.6197 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4798, allocations: 3.953 kB / 0.6197 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.4798, allocations: 0 / 0.6197 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4798, allocations: 0 / 0.6197 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.4798, allocations: 0 / 0.6197 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.366e-05/0.4799, allocations: 143.5 kB / 0.6198 GB, free: 6.008 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.4799, allocations: 89 kB / 0.6199 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.48, allocations: 3.953 kB / 0.6199 GB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.48, allocations: 0.5156 kB / 0.6199 GB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.48, allocations: 3.125 kB / 0.6199 GB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.48, allocations: 4 kB / 0.6199 GB, free: 5.895 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.48e-05/0.4801, allocations: 95.19 kB / 0.62 GB, free: 5.801 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4801, allocations: 0 / 0.62 GB, free: 5.801 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.4804, allocations: 87.86 kB / 0.6201 GB, free: 5.715 MB / 442.7 MB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004294/0.4809, allocations: 235 kB / 0.6203 GB, free: 5.477 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.942e-05/0.481, allocations: 27.98 kB / 0.6204 GB, free: 5.449 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.481, allocations: 0 / 0.6204 GB, free: 5.449 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.481, allocations: 11.92 kB / 0.6204 GB, free: 5.438 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.4813, allocations: 4 kB / 0.6204 GB, free: 5.434 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.4816, allocations: 184.7 kB / 0.6206 GB, free: 5.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.4818, allocations: 0.6809 MB / 0.6212 GB, free: 4.523 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.4819, allocations: 23.42 kB / 0.6212 GB, free: 4.504 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4819, allocations: 0 / 0.6212 GB, free: 4.504 MB / 442.7 MB Notification: Performance of Templates: time 0.003644/0.4855, allocations: 2.234 MB / 0.6234 GB, free: 2.277 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches