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.0008662/0.0008662, allocations: 175.1 kB / 16.72 MB, free: 4.957 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.195/1.195, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.000696/0.000696, allocations: 81.19 kB / 271.2 MB, free: 8.254 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.3149/0.3149, allocations: 43.56 MB / 363.1 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003492, allocations: 12 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1032, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3374/0.4406, allocations: 138.1 MB / 0.6142 GB, free: 12.4 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.4423, allocations: 1.123 MB / 0.6153 GB, free: 11.28 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.4424, allocations: 3.938 kB / 0.6153 GB, free: 11.28 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.4427, allocations: 35.38 kB / 0.6153 GB, free: 11.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.445, allocations: 0.7146 MB / 0.616 GB, free: 10.55 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.22e-06/0.445, allocations: 0 / 0.616 GB, free: 10.55 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.4451, allocations: 75.72 kB / 0.6161 GB, free: 10.47 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.4452, allocations: 0 / 0.6161 GB, free: 10.47 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.4452, allocations: 23.92 kB / 0.6161 GB, free: 10.45 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.4453, allocations: 19.92 kB / 0.6161 GB, free: 10.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.4453, allocations: 0 / 0.6161 GB, free: 10.43 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.4484, allocations: 1.731 MB / 0.6178 GB, free: 8.695 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.4485, allocations: 11.98 kB / 0.6178 GB, free: 8.684 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.4485, allocations: 37.64 kB / 0.6178 GB, free: 8.641 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.4492, allocations: 0.5474 MB / 0.6184 GB, free: 8.094 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4493, allocations: 0 / 0.6184 GB, free: 8.094 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4493, allocations: 4 kB / 0.6184 GB, free: 8.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.4493, allocations: 0 / 0.6184 GB, free: 8.09 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.0005817/0.4499, allocations: 452.9 kB / 0.6188 GB, free: 7.602 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.4499, allocations: 8.031 kB / 0.6188 GB, free: 7.594 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.45, allocations: 10.72 kB / 0.6188 GB, free: 7.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.782e-05/0.4501, allocations: 168.3 kB / 0.619 GB, free: 7.387 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4501, allocations: 7.875 kB / 0.619 GB, free: 7.379 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.4501, allocations: 4 kB / 0.619 GB, free: 7.375 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.4502, allocations: 73.67 kB / 0.6191 GB, free: 7.297 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4503, allocations: 0 / 0.6191 GB, free: 7.297 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.4503, allocations: 0 / 0.6191 GB, free: 7.297 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.4503, allocations: 4 kB / 0.6191 GB, free: 7.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.288e-05/0.4504, allocations: 47.97 kB / 0.6191 GB, free: 7.246 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.4508, allocations: 300.7 kB / 0.6194 GB, free: 6.902 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.34e-05/0.4509, allocations: 38.56 kB / 0.6194 GB, free: 6.855 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.4509, allocations: 8.922 kB / 0.6195 GB, free: 6.844 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.451, allocations: 93.09 kB / 0.6195 GB, free: 6.734 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.451, allocations: 34.59 kB / 0.6196 GB, free: 6.691 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4511, allocations: 0 / 0.6196 GB, free: 6.691 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001487/0.4512, allocations: 53.53 kB / 0.6196 GB, free: 6.633 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.4512, allocations: 51.41 kB / 0.6197 GB, free: 6.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.4513, allocations: 109.8 kB / 0.6198 GB, free: 6.453 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.4513, allocations: 25.7 kB / 0.6198 GB, free: 6.422 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.4514, allocations: 91.89 kB / 0.6199 GB, free: 6.328 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.4514, allocations: 11.91 kB / 0.6199 GB, free: 6.316 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4514, allocations: 0 / 0.6199 GB, free: 6.316 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.4515, allocations: 314.8 kB / 0.6202 GB, free: 6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.4515, allocations: 8 kB / 0.6202 GB, free: 5.992 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.4516, allocations: 43.36 kB / 0.6203 GB, free: 5.938 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.4516, allocations: 35.44 kB / 0.6203 GB, free: 5.891 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4516, allocations: 3.938 kB / 0.6203 GB, free: 5.887 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.663e-05/0.4518, allocations: 69.98 kB / 0.6204 GB, free: 5.812 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.4518, allocations: 8.094 kB / 0.6204 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4518, allocations: 0 / 0.6204 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4518, allocations: 11.97 kB / 0.6204 GB, free: 5.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.4519, allocations: 8 kB / 0.6204 GB, free: 5.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4519, allocations: 1.875 kB / 0.6204 GB, free: 5.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.4519, allocations: 11.84 kB / 0.6204 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.4519, allocations: 3.984 kB / 0.6204 GB, free: 5.77 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 7.835e-05/0.452, allocations: 117.8 kB / 0.6205 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.4521, allocations: 4.75 kB / 0.6205 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.4522, allocations: 61.12 kB / 0.6206 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.4522, allocations: 3.938 kB / 0.6206 GB, free: 5.574 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4522, allocations: 7.828 kB / 0.6206 GB, free: 5.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4522, allocations: 0 / 0.6206 GB, free: 5.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.4524, allocations: 157.7 kB / 0.6207 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4524, allocations: 0 / 0.6207 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.4524, allocations: 4.562 kB / 0.6207 GB, free: 5.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.4524, allocations: 4 kB / 0.6207 GB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.4524, allocations: 7.938 kB / 0.6208 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4524, allocations: 0 / 0.6208 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4524, allocations: 4.438 kB / 0.6208 GB, free: 5.348 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.645e-05/0.4525, allocations: 139.5 kB / 0.6209 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.4526, allocations: 81.09 kB / 0.621 GB, free: 5.098 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.4526, allocations: 7.938 kB / 0.621 GB, free: 5.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.4527, allocations: 4.406 kB / 0.621 GB, free: 5.086 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.4527, allocations: 0 / 0.621 GB, free: 5.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.4527, allocations: 8 kB / 0.621 GB, free: 5.078 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.017e-05/0.4527, allocations: 75.28 kB / 0.6211 GB, free: 5.004 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4527, allocations: 0 / 0.6211 GB, free: 5.004 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003521/0.4531, allocations: 107.8 kB / 0.6212 GB, free: 4.898 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.0005397/0.4536, allocations: 243.9 kB / 0.6214 GB, free: 4.652 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.735e-05/0.4537, allocations: 27.92 kB / 0.6214 GB, free: 4.625 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4537, allocations: 192 / 0.6214 GB, free: 4.625 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.4538, allocations: 12.33 kB / 0.6214 GB, free: 4.613 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.454, allocations: 3.938 kB / 0.6214 GB, free: 4.609 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.4543, allocations: 188.4 kB / 0.6216 GB, free: 4.402 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.4545, allocations: 0.6809 MB / 0.6223 GB, free: 3.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.4546, allocations: 23.42 kB / 0.6223 GB, free: 3.676 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4546, allocations: 0 / 0.6223 GB, free: 3.676 MB / 442.7 MB Notification: Performance of Templates: time 0.00359/0.4582, allocations: 2.274 MB / 0.6245 GB, free: 1.406 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