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.0009371/0.0009371, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008991/0.0008991, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9831/0.9831, allocations: 177.1 MB / 205 MB, free: 5.297 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.2516/0.2516, allocations: 34.25 MB / 295.7 MB, free: 0.707 MB / 266.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.683e-06/1.683e-06, allocations: 3.938 kB / 378.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.558e-05, allocations: 2.312 kB / 378.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2748/0.2748, allocations: 134.6 MB / 0.5006 GB, free: 25.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004177/0.279, allocations: 3.082 MB / 0.5036 GB, free: 23.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005077/0.2795, allocations: 27.84 kB / 0.5037 GB, free: 23.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006601/0.2802, allocations: 215.1 kB / 0.5039 GB, free: 22.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.2817, allocations: 0.7851 MB / 0.5046 GB, free: 22.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.2836, allocations: 0.9114 MB / 0.5055 GB, free: 21.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.2857, allocations: 1.855 MB / 0.5073 GB, free: 21.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007232/0.2864, allocations: 424.8 kB / 0.5077 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.2879, allocations: 0.9475 MB / 0.5087 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.289, allocations: 0.6741 MB / 0.5093 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.2891, allocations: 60.41 kB / 0.5094 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006202/0.2898, allocations: 277.3 kB / 0.5097 GB, free: 20.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.29, allocations: 285.4 kB / 0.5099 GB, free: 20.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.2903, allocations: 288.1 kB / 0.5102 GB, free: 19.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.2914, allocations: 0.7874 MB / 0.511 GB, free: 19.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2914, allocations: 6.812 kB / 0.511 GB, free: 19.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2914, allocations: 1.922 kB / 0.511 GB, free: 19.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.2914, allocations: 0 / 0.511 GB, free: 19.65 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.001491/0.2929, allocations: 1.081 MB / 0.512 GB, free: 18.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2929, allocations: 11.47 kB / 0.512 GB, free: 18.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.2933, allocations: 148.7 kB / 0.5122 GB, free: 18.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.2939, allocations: 0.4885 MB / 0.5127 GB, free: 18.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.294, allocations: 152.6 kB / 0.5128 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/0.294, allocations: 54.73 kB / 0.5129 GB, free: 18.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/0.2948, allocations: 0.9497 MB / 0.5138 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.2948, allocations: 4.312 kB / 0.5138 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.2949, allocations: 28.81 kB / 0.5138 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/0.2949, allocations: 37.94 kB / 0.5139 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.2954, allocations: 307.7 kB / 0.5142 GB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.2977, allocations: 3.508 MB / 0.5176 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.2981, allocations: 272.1 kB / 0.5178 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.2982, allocations: 95.23 kB / 0.5179 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.2984, allocations: 44.81 kB / 0.518 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.2984, allocations: 45.41 kB / 0.518 GB, free: 14.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/0.2984, allocations: 0 / 0.518 GB, free: 14.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001662/0.3001, allocations: 0.9721 MB / 0.519 GB, free: 13.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.3001, allocations: 142.3 kB / 0.5191 GB, free: 13.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.3004, allocations: 0.5401 MB / 0.5196 GB, free: 13.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.3005, allocations: 35.36 kB / 0.5197 GB, free: 13.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.3006, allocations: 432 kB / 0.5201 GB, free: 12.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.3007, allocations: 173 kB / 0.5202 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3008, allocations: 152 kB / 0.5204 GB, free: 12.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.235e-05/0.3009, allocations: 0.548 MB / 0.5209 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.301, allocations: 91.27 kB / 0.521 GB, free: 12.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.3013, allocations: 0.6177 MB / 0.5216 GB, free: 11.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.3018, allocations: 0.6789 MB / 0.5223 GB, free: 10.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3018, allocations: 3.031 kB / 0.5223 GB, free: 10.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007863/0.3025, allocations: 0.6755 MB / 0.5229 GB, free: 10.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3026, allocations: 11.81 kB / 0.5229 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3026, allocations: 8.344 kB / 0.523 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006553/0.3032, allocations: 234.3 kB / 0.5232 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.3035, allocations: 127 kB / 0.5233 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004845/0.3039, allocations: 0.9804 MB / 0.5243 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.3042, allocations: 29.44 kB / 0.5243 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.3042, allocations: 38.91 kB / 0.5243 GB, free: 9.648 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.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[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.0001445/0.3044, allocations: 213.2 kB / 0.5245 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.3044, allocations: 84.75 kB / 0.5246 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005968/0.305, allocations: 0.4926 MB / 0.5251 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.305, allocations: 5.219 kB / 0.5251 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.305, allocations: 0 / 0.5251 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.305, allocations: 2.766 kB / 0.5251 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009294/0.306, allocations: 0.9613 MB / 0.526 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.306, allocations: 2.656 kB / 0.526 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/0.3065, allocations: 189.1 kB / 0.5262 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.531e-05/0.3065, allocations: 25.88 kB / 0.5262 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.3066, allocations: 19.97 kB / 0.5263 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008647/0.3074, allocations: 3.554 MB / 0.5297 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3074, allocations: 0 / 0.5297 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.308, allocations: 0.6447 MB / 0.5304 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.3081, allocations: 119.1 kB / 0.5305 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.3082, allocations: 20.73 kB / 0.5305 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.3083, allocations: 16.53 kB / 0.5305 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.3084, allocations: 38.67 kB / 0.5305 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.3084, allocations: 20.64 kB / 0.5306 GB, free: 4.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002107/0.3086, allocations: 341.4 kB / 0.5309 GB, free: 4.238 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3086, allocations: 0 / 0.5309 GB, free: 4.238 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005123/0.3091, allocations: 195.1 kB / 0.5311 GB, free: 4.215 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.0002493/0.3094, allocations: 172.3 kB / 0.5312 GB, free: 4.098 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000702/0.3101, allocations: 408.2 kB / 0.5316 GB, free: 3.992 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3101, allocations: 4 kB / 0.5316 GB, free: 3.992 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.3106, allocations: 411.6 kB / 0.532 GB, free: 3.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.3114, allocations: 328.9 kB / 0.5323 GB, free: 3.695 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.313, allocations: 1.178 MB / 0.5335 GB, free: 2.973 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.946e-05/0.3131, allocations: 175.8 kB / 0.5337 GB, free: 2.887 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003909/0.3135, allocations: 175.4 kB / 0.5338 GB, free: 2.852 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3136, allocations: 61.14 kB / 0.5339 GB, free: 2.836 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.3136, allocations: 3.469 kB / 0.5339 GB, free: 2.836 MB / 410.7 MB Notification: Performance of Templates: time 0.01599/0.3296, allocations: 14.06 MB / 0.5476 GB, free: 11.24 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.6496500340290368]