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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 76.31 kB / 22.21 MB, free: 2.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 171 kB / 25.61 MB, free: 8.898 MB / 18.57 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 0.8545/0.8545, allocations: 158.6 MB / 187.5 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|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.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.622e-05, allocations: 2.312 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.02226/0.02229, allocations: 25.82 MB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.02506, allocations: 2.674 MB / 280 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.02526, allocations: 7.938 kB / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.02571, allocations: 158.9 kB / 280.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006055/0.02631, allocations: 0.5434 MB / 280.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01191/0.03822, allocations: 6.588 MB / 287.3 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001771/0.04, allocations: 1.617 MB / 288.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.04025, allocations: 145.5 kB / 289 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007512/0.041, allocations: 0.8264 MB / 289.9 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005232/0.04152, allocations: 0.5376 MB / 290.4 MB, free: 184 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.548e-05/0.04161, allocations: 84 kB / 290.5 MB, free: 100 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/0.05414, allocations: 8.846 MB / 299.3 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004917/0.05463, allocations: 351.1 kB / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.05533, allocations: 331.4 kB / 300 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.06616, allocations: 6.306 MB / 306.3 MB, free: 256 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.06616, allocations: 0 / 306.3 MB, free: 256 kB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.06616, allocations: 0 / 306.3 MB, free: 256 kB / 282.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.06617, allocations: 4 kB / 306.3 MB, free: 252 kB / 282.7 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.002866/0.06904, allocations: 1.563 MB / 307.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.06908, allocations: 8.031 kB / 307.9 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/0.06941, allocations: 159.6 kB / 308 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.0698, allocations: 378.4 kB / 308.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.06983, allocations: 45.31 kB / 308.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.06991, allocations: 68 kB / 308.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/0.07072, allocations: 0.8219 MB / 309.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.07074, allocations: 3.984 kB / 309.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.07079, allocations: 35.94 kB / 309.4 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.0708, allocations: 16 kB / 309.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006261/0.07143, allocations: 406 kB / 309.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006671/0.0781, allocations: 3.661 MB / 313.4 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.07883, allocations: 428.2 kB / 313.9 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.07901, allocations: 181.3 kB / 314 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004506/0.08352, allocations: 2.403 MB / 316.4 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.08356, allocations: 46.05 kB / 316.5 MB, free: 5.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 2.574e-06/0.08356, allocations: 11.94 kB / 316.5 MB, free: 5.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.004361/0.08792, allocations: 2.023 MB / 318.5 MB, free: 3.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.08795, allocations: 64.41 kB / 318.6 MB, free: 3.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.08815, allocations: 316.1 kB / 318.9 MB, free: 3.344 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.0882, allocations: 41.7 kB / 318.9 MB, free: 3.297 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.08832, allocations: 295.8 kB / 319.2 MB, free: 3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.08848, allocations: 333.1 kB / 319.5 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.08864, allocations: 168.2 kB / 319.7 MB, free: 2.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.08879, allocations: 0.5312 MB / 320.2 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.08895, allocations: 125.9 kB / 320.4 MB, free: 1.832 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.0893, allocations: 283.3 kB / 320.6 MB, free: 1.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/0.08996, allocations: 474.9 kB / 321.1 MB, free: 1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.08996, allocations: 0 / 321.1 MB, free: 1 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001219/0.09118, allocations: 0.7721 MB / 321.9 MB, free: 212 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.09119, allocations: 8 kB / 321.9 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.0912, allocations: 288 / 321.9 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/0.09159, allocations: 142.7 kB / 322 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.09199, allocations: 187.7 kB / 322.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.09367, allocations: 3.434 MB / 325.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.09387, allocations: 24 kB / 325.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.09393, allocations: 35.98 kB / 325.7 MB, free: 12.14 MB / 314.7 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): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * 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.0001781/0.0941, allocations: 212.5 kB / 325.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.09439, allocations: 154.9 kB / 326.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.09552, allocations: 0.9489 MB / 327 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.09553, allocations: 8 kB / 327 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.09553, allocations: 7.938 kB / 327 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008184/0.09635, allocations: 0.9777 MB / 328 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.09787, allocations: 1.268 MB / 329.3 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.09787, allocations: 0 / 329.3 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.09823, allocations: 171.8 kB / 329.4 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008484/0.09908, allocations: 275 kB / 329.7 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.09913, allocations: 31.92 kB / 329.7 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.09913, allocations: 4 kB / 329.7 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.09914, allocations: 0 / 329.7 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.1004, allocations: 0.991 MB / 330.7 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.1004, allocations: 47.7 kB / 330.8 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.1005, allocations: 19.98 kB / 330.8 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.1007, allocations: 27.98 kB / 330.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.1008, allocations: 64.88 kB / 330.9 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.1008, allocations: 35.97 kB / 330.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.101, allocations: 222.9 kB / 331.1 MB, free: 6.406 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.101, allocations: 0 / 331.1 MB, free: 6.406 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003061/0.104, allocations: 1.349 MB / 332.5 MB, free: 5.055 MB / 314.7 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): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004369/0.1084, allocations: 1.863 MB / 334.4 MB, free: 3.188 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.1095, allocations: 0.855 MB / 335.2 MB, free: 2.289 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1096, allocations: 7.938 kB / 335.2 MB, free: 2.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006598/0.1102, allocations: 386.4 kB / 335.6 MB, free: 1.891 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009533/0.1112, allocations: 360.2 kB / 335.9 MB, free: 1.539 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.113, allocations: 1.313 MB / 337.3 MB, free: 188 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.1131, allocations: 164.9 kB / 337.4 MB, free: 0 / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.1135, allocations: 144.9 kB / 337.6 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/0.1142, allocations: 421.8 kB / 338 MB, free: 15.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1142, allocations: 0 / 338 MB, free: 15.45 MB / 330.7 MB Notification: Performance of Templates: time 0.1432/0.2574, allocations: 58.95 MB / 396.9 MB, free: 47.53 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.590594457928091]