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.001289/0.001289, allocations: 85.08 kB / 22.99 MB, free: 1.504 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.0009419/0.0009419, allocations: 177.5 kB / 26.4 MB, free: 7.969 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.8088/0.8088, allocations: 158.6 MB / 188.3 MB, free: 2.809 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.202e-06/1.202e-06, allocations: 0 / 252.3 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/1.99e-05, allocations: 6.25 kB / 252.3 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.02233/0.02235, allocations: 25.81 MB / 278.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.02538, allocations: 2.678 MB / 280.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.02566, allocations: 11.94 kB / 280.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005243/0.02618, allocations: 158.9 kB / 280.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000846/0.02703, allocations: 0.5473 MB / 281.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0141/0.04113, allocations: 6.572 MB / 288.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.04299, allocations: 1.621 MB / 289.7 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.04327, allocations: 141.5 kB / 289.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.04476, allocations: 0.8304 MB / 290.6 MB, free: 0.707 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007824/0.04554, allocations: 0.5376 MB / 291.2 MB, free: 172 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.04567, allocations: 84 kB / 291.3 MB, free: 88 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01407/0.05974, allocations: 8.838 MB / 300.1 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004188/0.06016, allocations: 347.2 kB / 300.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005193/0.06068, allocations: 339.4 kB / 300.8 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.07284, allocations: 6.302 MB / 307.1 MB, free: 252 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.07285, allocations: 3.938 kB / 307.1 MB, free: 248 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.07285, allocations: 0 / 307.1 MB, free: 248 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.07286, allocations: 0 / 307.1 MB, free: 248 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.003072/0.07593, allocations: 1.567 MB / 308.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.07597, allocations: 8.031 kB / 308.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000451/0.07642, allocations: 155.6 kB / 308.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.07693, allocations: 382.4 kB / 309.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.07696, allocations: 45.31 kB / 309.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.07707, allocations: 72 kB / 309.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.07817, allocations: 0.8219 MB / 310.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.07819, allocations: 0 / 310.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.07825, allocations: 28 kB / 310.1 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.07826, allocations: 16 kB / 310.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000882/0.07915, allocations: 418 kB / 310.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008302/0.08745, allocations: 3.599 MB / 314.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/0.08836, allocations: 444.4 kB / 314.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.08855, allocations: 181.3 kB / 314.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004548/0.09309, allocations: 2.301 MB / 317.1 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.09314, allocations: 46.05 kB / 317.1 MB, free: 5.957 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 3.026e-06/0.09314, allocations: 0 / 317.1 MB, free: 5.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.004442/0.09758, allocations: 1.992 MB / 319.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.09761, allocations: 60.41 kB / 319.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.09783, allocations: 324.1 kB / 319.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.09789, allocations: 41.7 kB / 319.5 MB, free: 3.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.09803, allocations: 291.8 kB / 319.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.09821, allocations: 329.2 kB / 320.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.09838, allocations: 164.2 kB / 320.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.09852, allocations: 0.5312 MB / 320.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.09869, allocations: 125.9 kB / 321 MB, free: 2.016 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.09906, allocations: 291.3 kB / 321.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.09971, allocations: 470.8 kB / 321.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.09971, allocations: 0 / 321.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00122/0.1009, allocations: 0.7293 MB / 322.4 MB, free: 440 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1009, allocations: 8 kB / 322.4 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.101, allocations: 4 kB / 322.4 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004078/0.1014, allocations: 142.9 kB / 322.6 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.1018, allocations: 187.7 kB / 322.8 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.1042, allocations: 5.248 MB / 328 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.1045, allocations: 24 kB / 328 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.1045, allocations: 35.98 kB / 328.1 MB, free: 10.48 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): 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.0002129/0.1047, allocations: 204.5 kB / 328.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/0.1051, allocations: 154.9 kB / 328.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.1062, allocations: 0.9023 MB / 329.3 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.1062, allocations: 15.94 kB / 329.3 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1062, allocations: 11.92 kB / 329.3 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000777/0.1069, allocations: 0.9386 MB / 330.3 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.1084, allocations: 1.217 MB / 331.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1084, allocations: 4.062 kB / 331.5 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.1088, allocations: 167.8 kB / 331.7 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008432/0.1096, allocations: 278.9 kB / 331.9 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.1097, allocations: 27.98 kB / 332 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008681/0.1106, allocations: 1.826 MB / 333.8 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1106, allocations: 8.062 kB / 333.8 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.1118, allocations: 0.9442 MB / 334.8 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.1118, allocations: 43.67 kB / 334.8 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/0.1119, allocations: 23.98 kB / 334.8 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.1122, allocations: 27.98 kB / 334.8 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.1122, allocations: 60.83 kB / 334.9 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.1123, allocations: 43.91 kB / 334.9 MB, free: 3.262 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1124, allocations: 218.9 kB / 335.2 MB, free: 3.047 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1124, allocations: 4 kB / 335.2 MB, free: 3.043 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003025/0.1154, allocations: 1.345 MB / 336.5 MB, free: 1.695 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): 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.004314/0.1198, allocations: 1.857 MB / 338.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1208, allocations: 0.8431 MB / 339.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1208, allocations: 0 / 339.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.1212, allocations: 306.5 kB / 339.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009436/0.1222, allocations: 360.5 kB / 339.9 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.1242, allocations: 1.341 MB / 341.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.1243, allocations: 169 kB / 341.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004058/0.1247, allocations: 141 kB / 341.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006441/0.1253, allocations: 429.8 kB / 341.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1253, allocations: 0 / 341.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of Templates: time 0.1406/0.266, allocations: 58.37 MB / 400.3 MB, free: 45.56 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: 10.240731162019074]