Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.0015/0.0015, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00158/0.00158, allocations: 169.2 kB / 25.61 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9322/0.9322, allocations: 177.2 MB / 206.1 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1378/0.1378, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.969e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2476/0.2476, allocations: 132 MB / 0.4994 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.2508, allocations: 3.064 MB / 0.5024 GB, free: 16.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003346/0.2512, allocations: 27.38 kB / 0.5024 GB, free: 16.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.2517, allocations: 219.7 kB / 0.5026 GB, free: 16.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.2527, allocations: 0.7769 MB / 0.5034 GB, free: 16.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.254, allocations: 0.9088 MB / 0.5042 GB, free: 16.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.2553, allocations: 1.861 MB / 0.5061 GB, free: 16.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.2557, allocations: 423 kB / 0.5065 GB, free: 16.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.2568, allocations: 0.9474 MB / 0.5074 GB, free: 16.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007397/0.2576, allocations: 0.6781 MB / 0.508 GB, free: 16.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.576e-05/0.2576, allocations: 60.91 kB / 0.5081 GB, free: 16.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.258, allocations: 278.9 kB / 0.5084 GB, free: 16.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.2582, allocations: 282.6 kB / 0.5086 GB, free: 16.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.2584, allocations: 293.4 kB / 0.5089 GB, free: 16.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.259, allocations: 0.7906 MB / 0.5097 GB, free: 16.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.259, allocations: 0 / 0.5097 GB, free: 16.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.259, allocations: 0 / 0.5097 GB, free: 16.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.259, allocations: 0 / 0.5097 GB, free: 16.43 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.0011/0.2601, allocations: 1.071 MB / 0.5107 GB, free: 15.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2602, allocations: 9.188 kB / 0.5107 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002711/0.2604, allocations: 154.5 kB / 0.5109 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.2609, allocations: 490 kB / 0.5114 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.261, allocations: 155.6 kB / 0.5115 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.68e-05/0.2611, allocations: 60.34 kB / 0.5116 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.2616, allocations: 0.908 MB / 0.5125 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.2616, allocations: 384 / 0.5125 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.2616, allocations: 28.8 kB / 0.5125 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/0.2617, allocations: 42.5 kB / 0.5125 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.262, allocations: 251.1 kB / 0.5128 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.2638, allocations: 3.405 MB / 0.5161 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.2641, allocations: 249.9 kB / 0.5163 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.2641, allocations: 87.64 kB / 0.5164 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.512e-05/0.2642, allocations: 36.8 kB / 0.5164 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.2643, allocations: 42.55 kB / 0.5165 GB, free: 12.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.443e-06/0.2643, allocations: 4 kB / 0.5165 GB, free: 12.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001203/0.2655, allocations: 0.8271 MB / 0.5173 GB, free: 11.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.2655, allocations: 135.4 kB / 0.5174 GB, free: 11.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.2658, allocations: 0.537 MB / 0.518 GB, free: 11.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.2658, allocations: 35.95 kB / 0.518 GB, free: 11.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.2659, allocations: 435 kB / 0.5184 GB, free: 11.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.738e-05/0.266, allocations: 175.8 kB / 0.5186 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2661, allocations: 151.9 kB / 0.5187 GB, free: 11.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.2662, allocations: 0.5535 MB / 0.5193 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/0.2663, allocations: 70.11 kB / 0.5193 GB, free: 10.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.2665, allocations: 0.6071 MB / 0.5199 GB, free: 9.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.2668, allocations: 0.6553 MB / 0.5206 GB, free: 9.285 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2668, allocations: 2.188 kB / 0.5206 GB, free: 9.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006403/0.2674, allocations: 0.6233 MB / 0.5212 GB, free: 9.188 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2675, allocations: 8.906 kB / 0.5212 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2675, allocations: 11.78 kB / 0.5212 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/0.2681, allocations: 234.5 kB / 0.5214 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.2683, allocations: 124.9 kB / 0.5215 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003657/0.2686, allocations: 0.9488 MB / 0.5225 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.2688, allocations: 28.19 kB / 0.5225 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.2689, allocations: 32.22 kB / 0.5225 GB, free: 8.359 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.269, allocations: 208.6 kB / 0.5227 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-05/0.2691, allocations: 84.17 kB / 0.5228 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.2695, allocations: 486.6 kB / 0.5233 GB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2696, allocations: 10.25 kB / 0.5233 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2696, allocations: 1.922 kB / 0.5233 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2696, allocations: 2.672 kB / 0.5233 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.2703, allocations: 0.8496 MB / 0.5241 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2703, allocations: 2.969 kB / 0.5241 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.2707, allocations: 170.6 kB / 0.5243 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.652e-05/0.2708, allocations: 24.66 kB / 0.5243 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.2708, allocations: 14.97 kB / 0.5243 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007298/0.2715, allocations: 3.509 MB / 0.5277 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2715, allocations: 5.906 kB / 0.5277 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.272, allocations: 0.6044 MB / 0.5283 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.2721, allocations: 108.9 kB / 0.5284 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.2721, allocations: 12.25 kB / 0.5284 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.2723, allocations: 17.36 kB / 0.5285 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.539e-05/0.2723, allocations: 38.44 kB / 0.5285 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.2724, allocations: 19.53 kB / 0.5285 GB, free: 3.777 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.2725, allocations: 321.8 kB / 0.5288 GB, free: 3.648 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2725, allocations: 0 / 0.5288 GB, free: 3.648 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004078/0.2729, allocations: 197.2 kB / 0.529 GB, free: 3.641 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001804/0.2731, allocations: 168.3 kB / 0.5292 GB, free: 3.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.2735, allocations: 373.2 kB / 0.5295 GB, free: 3.516 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2735, allocations: 4 kB / 0.5295 GB, free: 3.512 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003751/0.2739, allocations: 375 kB / 0.5299 GB, free: 3.328 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007504/0.2747, allocations: 327.5 kB / 0.5302 GB, free: 3.285 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.2759, allocations: 1.171 MB / 0.5313 GB, free: 2.652 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.345e-05/0.276, allocations: 168.7 kB / 0.5315 GB, free: 2.578 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002556/0.2763, allocations: 125.2 kB / 0.5316 GB, free: 2.531 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/0.2767, allocations: 362.8 kB / 0.532 GB, free: 2.465 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2767, allocations: 0 / 0.532 GB, free: 2.465 MB / 410.7 MB Notification: Performance of Templates: time 0.0152/0.2919, allocations: 14.39 MB / 0.546 GB, free: 12.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.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: 3.6709559969604015]