Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009144/0.0009144, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.002052, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007247/0.0007247, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008753/0.0016, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8224/0.8224, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1516/0.9739, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1171/0.1171, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0184/0.1355, allocations: 12.29 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.338e-06/1.081e-05, allocations: 2.312 kB / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2475/0.2475, allocations: 131.5 MB / 398.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.2511, allocations: 3.141 MB / 401.9 MB, free: 276 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.2514, allocations: 31.69 kB / 401.9 MB, free: 244 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.2518, allocations: 218.5 kB / 402.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.2529, allocations: 0.773 MB / 402.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.2541, allocations: 0.8878 MB / 403.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.2556, allocations: 1.887 MB / 405.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.256, allocations: 434.5 kB / 406.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000958/0.257, allocations: 0.9812 MB / 407.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006185/0.2576, allocations: 0.6272 MB / 407.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.227e-05/0.2577, allocations: 60 kB / 407.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.2581, allocations: 279.5 kB / 408.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.2583, allocations: 235.4 kB / 408.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.2585, allocations: 231.6 kB / 408.5 MB, free: 9.637 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006741/0.2592, allocations: 0.6931 MB / 409.2 MB, free: 8.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.728e-05/0.2592, allocations: 0 / 409.2 MB, free: 8.941 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2592, allocations: 0 / 409.2 MB, free: 8.941 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.2592, allocations: 0 / 409.2 MB, free: 8.941 MB / 362.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.001269/0.2605, allocations: 1.182 MB / 410.4 MB, free: 7.715 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.2605, allocations: 11.89 kB / 410.4 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.2607, allocations: 140.6 kB / 410.5 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.2612, allocations: 427.4 kB / 410.9 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.2613, allocations: 153.6 kB / 411.1 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.2614, allocations: 56.36 kB / 411.2 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.262, allocations: 0.893 MB / 412 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.262, allocations: 384 / 412 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.262, allocations: 35.84 kB / 412.1 MB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.89e-05/0.2621, allocations: 36.98 kB / 412.1 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.2624, allocations: 240.3 kB / 412.4 MB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.2643, allocations: 2.441 MB / 414.8 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.2647, allocations: 223.6 kB / 415 MB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/0.2648, allocations: 75.8 kB / 415.1 MB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.745e-05/0.2649, allocations: 48.28 kB / 415.1 MB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2649, allocations: 41.77 kB / 415.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.332e-06/0.2649, allocations: 0 / 415.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.001236/0.2661, allocations: 0.7767 MB / 415.9 MB, free: 1.797 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2661, allocations: 55.41 kB / 416 MB, free: 1.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.2664, allocations: 478.8 kB / 416.5 MB, free: 1.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.2664, allocations: 33.7 kB / 416.5 MB, free: 1.211 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2665, allocations: 329.2 kB / 416.8 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.2666, allocations: 166.5 kB / 417 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.2667, allocations: 142.5 kB / 417.1 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.2668, allocations: 382.6 kB / 417.5 MB, free: 200 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.2669, allocations: 65.95 kB / 417.6 MB, free: 136 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.2671, allocations: 481.4 kB / 418 MB, free: 15.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005711/0.2677, allocations: 0.5161 MB / 418.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2677, allocations: 4 kB / 418.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005291/0.2682, allocations: 0.5061 MB / 419.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2683, allocations: 12 kB / 419.1 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.2683, allocations: 11.94 kB / 419.1 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/0.2688, allocations: 234.5 kB / 419.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.2691, allocations: 139.8 kB / 419.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003715/0.2694, allocations: 0.6654 MB / 420.1 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.2696, allocations: 20 kB / 420.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.2697, allocations: 40.02 kB / 420.2 MB, free: 13.18 MB / 378.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.0001228/0.2698, allocations: 164.4 kB / 420.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.2698, allocations: 55.94 kB / 420.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.2703, allocations: 418.4 kB / 420.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.2703, allocations: 8 kB / 420.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.2703, allocations: 0 / 420.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2703, allocations: 3.984 kB / 420.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006556/0.2709, allocations: 0.697 MB / 421.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.271, allocations: 192 / 421.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004817/0.2714, allocations: 196.3 kB / 421.7 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2715, allocations: 83.47 kB / 421.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.375e-05/0.2716, allocations: 20.84 kB / 421.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.2716, allocations: 19.88 kB / 421.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009409/0.2726, allocations: 2.397 MB / 424.2 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2726, allocations: 11.97 kB / 424.2 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.273, allocations: 0.5007 MB / 424.7 MB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.273, allocations: 15.98 kB / 424.7 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.2732, allocations: 20 kB / 424.8 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.2732, allocations: 35.88 kB / 424.8 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.2732, allocations: 15.98 kB / 424.8 MB, free: 8.238 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.2734, allocations: 196.4 kB / 425 MB, free: 8.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2734, allocations: 4.031 kB / 425 MB, free: 8.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003873/0.2738, allocations: 195.9 kB / 425.2 MB, free: 7.852 MB / 378.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.0005758/0.2744, allocations: 181.5 kB / 425.4 MB, free: 7.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004515/0.2748, allocations: 353.3 kB / 425.7 MB, free: 7.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.326e-05/0.2748, allocations: 16.48 kB / 425.7 MB, free: 7.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.2752, allocations: 316.8 kB / 426.1 MB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/0.2759, allocations: 385.9 kB / 426.4 MB, free: 6.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006874/0.2828, allocations: 1.168 MB / 427.6 MB, free: 5.426 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.2829, allocations: 183.1 kB / 427.8 MB, free: 5.227 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002546/0.2832, allocations: 119.9 kB / 427.9 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.2836, allocations: 305 kB / 428.2 MB, free: 4.812 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2836, allocations: 0 / 428.2 MB, free: 4.812 MB / 378.7 MB Notification: Performance of Templates: time 0.01537/0.299, allocations: 14.74 MB / 442.9 MB, free: 6.145 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2696302412077785]