Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 114.7 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2082/0.2082, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001439, allocations: 76.77 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1188, allocations: 62.45 MB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3569/0.4757, allocations: 153.9 MB / 0.6205 GB, free: 8.766 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.4775, allocations: 1.454 MB / 0.6219 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.4775, allocations: 4 kB / 0.6219 GB, free: 7.309 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.4778, allocations: 51.53 kB / 0.6219 GB, free: 7.262 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.4803, allocations: 1.069 MB / 0.623 GB, free: 6.219 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.118e-06/0.4803, allocations: 0 / 0.623 GB, free: 6.219 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.4804, allocations: 71.64 kB / 0.623 GB, free: 6.148 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.4805, allocations: 0 / 0.623 GB, free: 6.148 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.4805, allocations: 31.86 kB / 0.6231 GB, free: 6.117 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.4806, allocations: 31.89 kB / 0.6231 GB, free: 6.086 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.4806, allocations: 4 kB / 0.6231 GB, free: 6.082 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.4833, allocations: 1.872 MB / 0.6249 GB, free: 4.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.4834, allocations: 15.92 kB / 0.625 GB, free: 4.191 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.4834, allocations: 15.94 kB / 0.625 GB, free: 4.176 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.4847, allocations: 0.9201 MB / 0.6259 GB, free: 3.254 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4847, allocations: 4 kB / 0.6259 GB, free: 3.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4847, allocations: 0 / 0.6259 GB, free: 3.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.4847, allocations: 4 kB / 0.6259 GB, free: 3.246 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000617/0.4853, allocations: 0.4988 MB / 0.6264 GB, free: 2.703 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.4853, allocations: 8.031 kB / 0.6264 GB, free: 2.695 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.4854, allocations: 4.938 kB / 0.6264 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.4855, allocations: 179.8 kB / 0.6265 GB, free: 2.477 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4855, allocations: 4 kB / 0.6265 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.4855, allocations: 8 kB / 0.6266 GB, free: 2.465 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.4857, allocations: 73.67 kB / 0.6266 GB, free: 2.387 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.4857, allocations: 4 kB / 0.6266 GB, free: 2.383 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.4857, allocations: 4 kB / 0.6266 GB, free: 2.379 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.4857, allocations: 11.98 kB / 0.6266 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.084e-05/0.4858, allocations: 59.97 kB / 0.6267 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.4863, allocations: 316.6 kB / 0.627 GB, free: 1.949 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.676e-05/0.4864, allocations: 38.56 kB / 0.627 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.4864, allocations: 16.97 kB / 0.6271 GB, free: 1.883 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.4866, allocations: 259.3 kB / 0.6273 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.4866, allocations: 34.56 kB / 0.6273 GB, free: 1.531 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.4867, allocations: 0 / 0.6273 GB, free: 1.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002157/0.4869, allocations: 73.55 kB / 0.6274 GB, free: 1.453 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.4869, allocations: 51.41 kB / 0.6275 GB, free: 1.391 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.487, allocations: 105.8 kB / 0.6276 GB, free: 1.277 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.487, allocations: 25.7 kB / 0.6276 GB, free: 1.246 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.4871, allocations: 99.89 kB / 0.6277 GB, free: 1.145 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.4871, allocations: 19.78 kB / 0.6277 GB, free: 1.125 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.4871, allocations: 21.72 kB / 0.6277 GB, free: 1.098 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.964e-05/0.4872, allocations: 314.8 kB / 0.628 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/0.4872, allocations: 12.09 kB / 0.628 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.4873, allocations: 43.98 kB / 0.6281 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.051e-05/0.4874, allocations: 66.05 kB / 0.6281 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4874, allocations: 0 / 0.6281 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001171/0.4875, allocations: 81.47 kB / 0.6282 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.4875, allocations: 7.938 kB / 0.6282 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4875, allocations: 0 / 0.6282 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4876, allocations: 4 kB / 0.6282 GB, free: 0.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.4876, allocations: 16.08 kB / 0.6282 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4876, allocations: 8 kB / 0.6282 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.4877, allocations: 3.938 kB / 0.6282 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.4877, allocations: 4 kB / 0.6283 GB, free: 0.5117 MB / 462.1 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 6.687e-05/0.4878, allocations: 121.8 kB / 0.6284 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.4878, allocations: 15.69 kB / 0.6284 GB, free: 380 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.488, allocations: 73.23 kB / 0.6285 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.488, allocations: 4 kB / 0.6285 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.488, allocations: 3.984 kB / 0.6285 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.488, allocations: 0 / 0.6285 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.4882, allocations: 157.7 kB / 0.6286 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4882, allocations: 4.875 kB / 0.6286 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.4882, allocations: 7.984 kB / 0.6286 GB, free: 76 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4882, allocations: 3.938 kB / 0.6286 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.4882, allocations: 4 kB / 0.6286 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4882, allocations: 0 / 0.6286 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4882, allocations: 0 / 0.6286 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.4884, allocations: 164 kB / 0.6288 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.4884, allocations: 85.02 kB / 0.6289 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.4885, allocations: 8.547 kB / 0.6289 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.801e-05/0.4885, allocations: 0 / 0.6289 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.4885, allocations: 0 / 0.6289 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.4885, allocations: 4 kB / 0.6289 GB, free: 15.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.678e-05/0.4886, allocations: 83.91 kB / 0.629 GB, free: 15.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4886, allocations: 4 kB / 0.629 GB, free: 15.69 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004434/0.489, allocations: 151.8 kB / 0.6291 GB, free: 15.54 MB / 478.1 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0008478/0.4899, allocations: 337.5 kB / 0.6294 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.49, allocations: 43.98 kB / 0.6295 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4901, allocations: 0 / 0.6295 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.4901, allocations: 19.92 kB / 0.6295 GB, free: 15.15 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.4904, allocations: 16.17 kB / 0.6295 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.4908, allocations: 161.3 kB / 0.6297 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.4911, allocations: 0.6853 MB / 0.6303 GB, free: 14.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.439e-05/0.4911, allocations: 16.12 kB / 0.6303 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.4912, allocations: 19.44 kB / 0.6304 GB, free: 14.21 MB / 478.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4912, allocations: 0 / 0.6304 GB, free: 14.21 MB / 478.1 MB Notification: Performance of Templates: time 0.006809/0.498, allocations: 3.675 MB / 0.634 GB, free: 10.54 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches