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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 213.5 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 230.5 MB / 258.1 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.92 MB / 361.5 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00246/0.00246, allocations: 79.88 kB / 0.4974 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2927, allocations: 66.08 MB / 0.5619 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1701/0.4628, allocations: 154.4 MB / 0.7127 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.4647, allocations: 1.476 MB / 0.7142 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.4648, allocations: 4 kB / 0.7142 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.4651, allocations: 43.73 kB / 0.7142 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.468, allocations: 1.091 MB / 0.7153 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.949e-06/0.468, allocations: 0 / 0.7153 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.4681, allocations: 63.66 kB / 0.7153 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.4681, allocations: 11.97 kB / 0.7154 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.076e-05/0.4682, allocations: 19.94 kB / 0.7154 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-05/0.4683, allocations: 43.83 kB / 0.7154 GB, free: 6.469 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.575e-06/0.4683, allocations: 0 / 0.7154 GB, free: 6.469 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.4716, allocations: 1.941 MB / 0.7173 GB, free: 4.527 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.4716, allocations: 19.91 kB / 0.7173 GB, free: 4.508 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.4717, allocations: 23.88 kB / 0.7174 GB, free: 4.484 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.4733, allocations: 0.9313 MB / 0.7183 GB, free: 3.551 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4733, allocations: 0 / 0.7183 GB, free: 3.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4733, allocations: 3.938 kB / 0.7183 GB, free: 3.547 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.4733, allocations: 4 kB / 0.7183 GB, free: 3.543 MB / 0.545 GB 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.0007567/0.4741, allocations: 432.6 kB / 0.7187 GB, free: 3.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4741, allocations: 8.031 kB / 0.7187 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.4742, allocations: 8.891 kB / 0.7187 GB, free: 3.074 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.4743, allocations: 121.7 kB / 0.7188 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4743, allocations: 0 / 0.7188 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.4743, allocations: 4 kB / 0.7188 GB, free: 2.926 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.4745, allocations: 89.59 kB / 0.7189 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4745, allocations: 4 kB / 0.7189 GB, free: 2.828 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.4745, allocations: 0 / 0.7189 GB, free: 2.828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.4745, allocations: 11.98 kB / 0.7189 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.996e-05/0.4746, allocations: 63.97 kB / 0.719 GB, free: 2.754 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.4751, allocations: 283.8 kB / 0.7192 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.276e-05/0.4751, allocations: 42.5 kB / 0.7193 GB, free: 2.383 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.4752, allocations: 20.97 kB / 0.7193 GB, free: 2.359 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.4753, allocations: 35.97 kB / 0.7193 GB, free: 2.324 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.4753, allocations: 34.5 kB / 0.7194 GB, free: 2.281 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.4753, allocations: 0 / 0.7194 GB, free: 2.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0001914/0.4755, allocations: 65.62 kB / 0.7194 GB, free: 2.211 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.4756, allocations: 59.41 kB / 0.7195 GB, free: 2.141 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.4756, allocations: 109.8 kB / 0.7196 GB, free: 2.023 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4757, allocations: 25.7 kB / 0.7196 GB, free: 1.992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.4757, allocations: 92.14 kB / 0.7197 GB, free: 1.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.4757, allocations: 27.78 kB / 0.7197 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.4758, allocations: 29.66 kB / 0.7198 GB, free: 1.836 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4759, allocations: 310.8 kB / 0.7201 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.4759, allocations: 15.98 kB / 0.7201 GB, free: 1.508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.706e-05/0.476, allocations: 31.44 kB / 0.7201 GB, free: 1.465 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.639e-05/0.4761, allocations: 59.36 kB / 0.7202 GB, free: 1.395 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4761, allocations: 0 / 0.7202 GB, free: 1.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001336/0.4762, allocations: 85.55 kB / 0.7202 GB, free: 1.305 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4762, allocations: 7.938 kB / 0.7203 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4762, allocations: 4 kB / 0.7203 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4762, allocations: 0 / 0.7203 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.4763, allocations: 12.09 kB / 0.7203 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4763, allocations: 7.984 kB / 0.7203 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/0.4764, allocations: 4.562 kB / 0.7203 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4764, allocations: 4 kB / 0.7203 GB, free: 1.266 MB / 0.545 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 (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 8.646e-05/0.4765, allocations: 114.9 kB / 0.7204 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.4765, allocations: 7.891 kB / 0.7204 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.4766, allocations: 85.36 kB / 0.7205 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4766, allocations: 0 / 0.7205 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4766, allocations: 0 / 0.7205 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4767, allocations: 0 / 0.7205 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.4768, allocations: 144.7 kB / 0.7206 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4768, allocations: 7.922 kB / 0.7206 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.4769, allocations: 15.94 kB / 0.7206 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4769, allocations: 0 / 0.7206 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.4769, allocations: 0 / 0.7206 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4769, allocations: 0 / 0.7206 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4769, allocations: 0 / 0.7206 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.477, allocations: 167.4 kB / 0.7208 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-06/0.477, allocations: 3.938 kB / 0.7208 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.4771, allocations: 4 kB / 0.7208 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.124e-05/0.4771, allocations: 4 kB / 0.7208 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.4771, allocations: 0 / 0.7208 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.4771, allocations: 7.984 kB / 0.7208 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.4772, allocations: 79.28 kB / 0.7209 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4772, allocations: 4 kB / 0.7209 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004892/0.4777, allocations: 159.4 kB / 0.7211 GB, free: 412 kB / 0.545 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 (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.0006948/0.4784, allocations: 318.5 kB / 0.7214 GB, free: 84 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.4785, allocations: 39.92 kB / 0.7214 GB, free: 44 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4785, allocations: 0 / 0.7214 GB, free: 44 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.158e-05/0.4785, allocations: 8.625 kB / 0.7214 GB, free: 36 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.4788, allocations: 24.11 kB / 0.7214 GB, free: 12 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.4792, allocations: 194.3 kB / 0.7216 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.4795, allocations: 0.6885 MB / 0.7223 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.4795, allocations: 19.44 kB / 0.7223 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.4795, allocations: 0 / 0.7223 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.005691/0.4852, allocations: 3.176 MB / 0.7254 GB, free: 11.88 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9255310201551765]