Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 115.2 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 190.8 kB / 21.39 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 207.6 MB / 231.8 MB, free: 4.211 MB / 174.1 MB " [Timeout remaining time 178] 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 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(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 55.92 kB / 342.8 MB, free: 9.523 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09633, allocations: 49.11 MB / 391.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07825/0.1746, allocations: 66.03 MB / 457.9 MB, free: 5.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007661/0.1822, allocations: 5.476 MB / 463.4 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003774/0.1826, allocations: 4 kB / 463.4 MB, free: 500 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.1837, allocations: 365.9 kB / 463.7 MB, free: 132 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2076/0.3913, allocations: 0.5108 MB / 464.3 MB, free: 4.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01614/0.4075, allocations: 7.104 MB / 471.4 MB, free: 4.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.4095, allocations: 1.55 MB / 472.9 MB, free: 4.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.4098, allocations: 159.9 kB / 473.1 MB, free: 4.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.4108, allocations: 0.6318 MB / 473.7 MB, free: 4.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007516/0.4116, allocations: 0.6065 MB / 474.3 MB, free: 4.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.4117, allocations: 83.41 kB / 474.4 MB, free: 4.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02077/0.4325, allocations: 10.27 MB / 484.7 MB, free: 4.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006793/0.4332, allocations: 325 kB / 485 MB, free: 4.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009511/0.4341, allocations: 443.4 kB / 485.4 MB, free: 4.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.4473, allocations: 5.936 MB / 491.3 MB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4473, allocations: 0 / 491.3 MB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4473, allocations: 0 / 491.3 MB, free: 1.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.4473, allocations: 0 / 491.3 MB, free: 1.754 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003504/0.4508, allocations: 1.603 MB / 492.9 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4509, allocations: 8.656 kB / 493 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004166/0.4513, allocations: 88.12 kB / 493 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.4518, allocations: 451.7 kB / 493.5 MB, free: 376 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.4518, allocations: 45.75 kB / 493.5 MB, free: 372 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.308e-05/0.4519, allocations: 63.16 kB / 493.6 MB, free: 372 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.4535, allocations: 0.8117 MB / 494.4 MB, free: 180 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.4535, allocations: 4.281 kB / 494.4 MB, free: 180 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.11e-05/0.4536, allocations: 25.81 kB / 494.4 MB, free: 180 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4536, allocations: 17.69 kB / 494.4 MB, free: 176 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.4552, allocations: 1.027 MB / 495.5 MB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01801/0.4732, allocations: 12.79 MB / 0.4963 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.4749, allocations: 0.709 MB / 0.497 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005057/0.4754, allocations: 383.5 kB / 0.4974 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01659/0.492, allocations: 12.24 MB / 0.5094 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/0.4921, allocations: 51.53 kB / 0.5094 GB, free: 5.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.925e-06/0.4921, allocations: 0 / 0.5094 GB, free: 5.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01034/0.5024, allocations: 3.388 MB / 0.5127 GB, free: 2.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.5025, allocations: 60.41 kB / 0.5128 GB, free: 2.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.5029, allocations: 365.2 kB / 0.5131 GB, free: 1.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.956e-05/0.503, allocations: 41.7 kB / 0.5132 GB, free: 1.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.5032, allocations: 241.2 kB / 0.5134 GB, free: 1.508 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.5035, allocations: 326.6 kB / 0.5137 GB, free: 1.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.5038, allocations: 158.6 kB / 0.5139 GB, free: 1.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.504, allocations: 358.8 kB / 0.5142 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.5046, allocations: 369.8 kB / 0.5145 GB, free: 320 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.5056, allocations: 499.4 kB / 0.515 GB, free: 15.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.5075, allocations: 0.9107 MB / 0.5159 GB, free: 14.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5075, allocations: 3.938 kB / 0.5159 GB, free: 14.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002799/0.5103, allocations: 1.113 MB / 0.517 GB, free: 13.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.5103, allocations: 8 kB / 0.517 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.5104, allocations: 0 / 0.517 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008777/0.5112, allocations: 167.6 kB / 0.5172 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007869/0.512, allocations: 190.7 kB / 0.5174 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/0.5156, allocations: 4.121 MB / 0.5214 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.516, allocations: 20 kB / 0.5214 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.5161, allocations: 43.98 kB / 0.5214 GB, free: 8.902 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004197/0.5165, allocations: 233.5 kB / 0.5217 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004122/0.5169, allocations: 71.56 kB / 0.5217 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/0.5196, allocations: 1.282 MB / 0.523 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.5196, allocations: 8 kB / 0.523 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.5196, allocations: 0 / 0.523 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002068/0.5217, allocations: 1.323 MB / 0.5243 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003492/0.5252, allocations: 1.966 MB / 0.5262 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.5252, allocations: 4 kB / 0.5262 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/0.5259, allocations: 165.6 kB / 0.5264 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/0.5279, allocations: 290.4 kB / 0.5266 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/0.5279, allocations: 27.98 kB / 0.5267 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009572/0.5289, allocations: 1.288 MB / 0.5279 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5289, allocations: 3.984 kB / 0.5279 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/0.5317, allocations: 1.42 MB / 0.5293 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.5319, allocations: 135.6 kB / 0.5294 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.532, allocations: 19.56 kB / 0.5295 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/0.5326, allocations: 36.89 kB / 0.5295 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5327, allocations: 60.86 kB / 0.5296 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.977e-05/0.5328, allocations: 47.97 kB / 0.5296 GB, free: 280 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003493/0.5331, allocations: 279 kB / 0.5299 GB, free: 4 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5331, allocations: 0 / 0.5299 GB, free: 4 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.004109/0.5372, allocations: 1.407 MB / 0.5312 GB, free: 14.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005878/0.5431, allocations: 1.752 MB / 0.533 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002347/0.5455, allocations: 1.105 MB / 0.534 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5455, allocations: 7.938 kB / 0.534 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009732/0.5464, allocations: 482.5 kB / 0.5345 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.5484, allocations: 388.1 kB / 0.5349 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.5514, allocations: 1.682 MB / 0.5365 GB, free: 9.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.552, allocations: 0.9089 MB / 0.5374 GB, free: 8.387 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006908/0.5527, allocations: 209.2 kB / 0.5376 GB, free: 8.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.5529, allocations: 71.42 kB / 0.5377 GB, free: 8.109 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.5529, allocations: 0 / 0.5377 GB, free: 8.109 MB / 446.1 MB Notification: Performance of Templates: time 0.07662/0.6296, allocations: 51.52 MB / 0.588 GB, free: 4.605 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 20.56293136253953]