Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001642/0.001642, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.001889/0.001889, allocations: 185.5 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 47.92 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2463, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07297/0.3193, allocations: 58.85 MB / 481.9 MB, free: 3.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007163/0.3265, allocations: 4.967 MB / 486.9 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.3267, allocations: 7.938 kB / 486.9 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009379/0.3276, allocations: 334 kB / 487.2 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009248/0.3285, allocations: 0.5089 MB / 487.7 MB, free: 13.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01843/0.347, allocations: 7.441 MB / 495.2 MB, free: 6.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002004/0.349, allocations: 1.579 MB / 496.8 MB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.3493, allocations: 145.3 kB / 496.9 MB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009357/0.3502, allocations: 0.6464 MB / 497.5 MB, free: 3.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008894/0.3511, allocations: 0.5683 MB / 498.1 MB, free: 3.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.3513, allocations: 84 kB / 498.2 MB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01858/0.3698, allocations: 9.513 MB / 0.4958 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005119/0.3703, allocations: 331.1 kB / 0.4961 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006121/0.371, allocations: 378.8 kB / 0.4965 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.3841, allocations: 5.865 MB / 0.5022 GB, free: 3.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.3841, allocations: 0 / 0.5022 GB, free: 3.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3841, allocations: 0 / 0.5022 GB, free: 3.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.3841, allocations: 0 / 0.5022 GB, free: 3.02 MB / 414.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.003985/0.3881, allocations: 1.525 MB / 0.5037 GB, free: 1.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.3881, allocations: 12.03 kB / 0.5037 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.3886, allocations: 83.56 kB / 0.5038 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008219/0.3894, allocations: 399.1 kB / 0.5042 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.3894, allocations: 45.31 kB / 0.5042 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.3895, allocations: 60 kB / 0.5043 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.3917, allocations: 1.216 MB / 0.5055 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.3917, allocations: 0 / 0.5055 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/0.3918, allocations: 28 kB / 0.5055 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.3918, allocations: 16 kB / 0.5055 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.3938, allocations: 1.016 MB / 0.5065 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.4082, allocations: 4.07 MB / 0.5105 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.41, allocations: 0.7074 MB / 0.5112 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.4107, allocations: 386.6 kB / 0.5115 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.4219, allocations: 2.619 MB / 0.5141 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.422, allocations: 43.22 kB / 0.5141 GB, free: 6.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/0.422, allocations: 0 / 0.5141 GB, free: 6.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.0101/0.4321, allocations: 3.151 MB / 0.5172 GB, free: 3.406 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.4322, allocations: 60.41 kB / 0.5173 GB, free: 3.332 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.4326, allocations: 305.8 kB / 0.5176 GB, free: 3.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.388e-05/0.4327, allocations: 41.7 kB / 0.5176 GB, free: 2.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.4329, allocations: 245.1 kB / 0.5178 GB, free: 2.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.4332, allocations: 329.2 kB / 0.5181 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.4334, allocations: 158.6 kB / 0.5183 GB, free: 2.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.4336, allocations: 358.8 kB / 0.5186 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/0.4343, allocations: 373.8 kB / 0.519 GB, free: 1.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.4353, allocations: 0.4884 MB / 0.5195 GB, free: 1.004 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.4371, allocations: 0.906 MB / 0.5204 GB, free: 68 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4372, allocations: 0 / 0.5204 GB, free: 68 kB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002741/0.4399, allocations: 1.11 MB / 0.5214 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.4399, allocations: 10.12 kB / 0.5214 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4399, allocations: 4 kB / 0.5215 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008722/0.4408, allocations: 171.6 kB / 0.5216 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.4416, allocations: 187.7 kB / 0.5218 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003501/0.4451, allocations: 3.865 MB / 0.5256 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.4456, allocations: 23.94 kB / 0.5256 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.4457, allocations: 43.97 kB / 0.5256 GB, free: 10.38 MB / 446.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.0004282/0.4461, allocations: 225.7 kB / 0.5258 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004112/0.4465, allocations: 59.67 kB / 0.5259 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/0.4491, allocations: 1.276 MB / 0.5272 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.4491, allocations: 11.94 kB / 0.5272 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4491, allocations: 3.938 kB / 0.5272 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002049/0.4512, allocations: 1.32 MB / 0.5285 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.4546, allocations: 1.73 MB / 0.5301 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4546, allocations: 0 / 0.5301 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.4554, allocations: 163.8 kB / 0.5303 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001848/0.4572, allocations: 309.3 kB / 0.5306 GB, free: 5.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/0.4573, allocations: 27.97 kB / 0.5306 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009852/0.4583, allocations: 1.289 MB / 0.5319 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4583, allocations: 4.031 kB / 0.5319 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/0.4611, allocations: 1.41 MB / 0.5333 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.4613, allocations: 43.7 kB / 0.5333 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.4613, allocations: 24 kB / 0.5333 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.4619, allocations: 36.16 kB / 0.5334 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.462, allocations: 56.89 kB / 0.5334 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.184e-05/0.4621, allocations: 43.97 kB / 0.5335 GB, free: 2.066 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002944/0.4624, allocations: 239 kB / 0.5337 GB, free: 1.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4624, allocations: 0 / 0.5337 GB, free: 1.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003729/0.4661, allocations: 1.419 MB / 0.5351 GB, free: 424 kB / 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.173/0.6391, allocations: 1.733 MB / 0.5368 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.6412, allocations: 1.11 MB / 0.5378 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6412, allocations: 1.094 kB / 0.5378 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008159/0.642, allocations: 480.9 kB / 0.5383 GB, free: 114.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.6436, allocations: 339.7 kB / 0.5386 GB, free: 114.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.646, allocations: 1.662 MB / 0.5403 GB, free: 113.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.6463, allocations: 319.4 kB / 0.5406 GB, free: 113.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006598/0.647, allocations: 201.6 kB / 0.5408 GB, free: 113.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.6472, allocations: 76.56 kB / 0.5408 GB, free: 113.4 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.6472, allocations: 1.094 kB / 0.5408 GB, free: 113.4 MB / 446.1 MB Notification: Performance of Templates: time 0.05086/0.6981, allocations: 50.17 MB / 0.5898 GB, free: 67.4 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.735859086737037]