Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008938/0.0008938, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001038/0.001932, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007032/0.0007032, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.00172, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9755/0.9755, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0873/1.063, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2866/0.2866, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02372/0.3104, allocations: 13.23 MB / 292.6 MB, free: 6.48 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 3.938 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.246e-05, allocations: 2.312 kB / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1227/0.1227, allocations: 134.5 MB / 428.3 MB, free: 14.21 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003132/0.1258, allocations: 3.131 MB / 431.5 MB, free: 11.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003225/0.1261, allocations: 35.69 kB / 431.5 MB, free: 11.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005133/0.1266, allocations: 226.5 kB / 431.7 MB, free: 10.82 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009577/0.1276, allocations: 0.7612 MB / 432.5 MB, free: 10.05 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.1288, allocations: 0.8927 MB / 433.4 MB, free: 9.156 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.1304, allocations: 1.875 MB / 435.3 MB, free: 7.277 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/0.1309, allocations: 430.4 kB / 435.7 MB, free: 6.852 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009116/0.1318, allocations: 0.9891 MB / 436.7 MB, free: 5.859 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006721/0.1325, allocations: 0.6389 MB / 437.3 MB, free: 5.219 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.869e-05/0.1325, allocations: 60 kB / 437.4 MB, free: 5.16 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004571/0.133, allocations: 287.4 kB / 437.6 MB, free: 4.879 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.1332, allocations: 235.4 kB / 437.9 MB, free: 4.648 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.1334, allocations: 227.6 kB / 438.1 MB, free: 4.426 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008124/0.1342, allocations: 0.7009 MB / 438.8 MB, free: 3.723 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.829e-05/0.1343, allocations: 0 / 438.8 MB, free: 3.723 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1343, allocations: 0 / 438.8 MB, free: 3.723 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.1343, allocations: 0 / 438.8 MB, free: 3.723 MB / 426.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.001333/0.1356, allocations: 1.179 MB / 440 MB, free: 2.492 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.1356, allocations: 12.03 kB / 440 MB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.1359, allocations: 124.6 kB / 440.1 MB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.1364, allocations: 439.3 kB / 440.5 MB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.163e-05/0.1365, allocations: 152.4 kB / 440.7 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-05/0.1365, allocations: 60.36 kB / 440.7 MB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009306/0.1375, allocations: 0.8601 MB / 441.6 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.1375, allocations: 8.156 kB / 441.6 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.1375, allocations: 31.86 kB / 441.6 MB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.704e-05/0.1376, allocations: 40.92 kB / 441.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.1379, allocations: 236.3 kB / 441.9 MB, free: 360 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2029/0.3408, allocations: 2.433 MB / 444.3 MB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.3411, allocations: 216.4 kB / 444.6 MB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.3412, allocations: 74.38 kB / 444.6 MB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.3413, allocations: 42.03 kB / 444.7 MB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.3413, allocations: 44 kB / 444.7 MB, free: 12.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.3413, allocations: 0 / 444.7 MB, free: 12.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.001406/0.3427, allocations: 0.7811 MB / 445.5 MB, free: 12.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.3427, allocations: 55.44 kB / 445.6 MB, free: 12.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.343, allocations: 473.2 kB / 446 MB, free: 12.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.343, allocations: 34.98 kB / 446 MB, free: 12.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.3431, allocations: 324.9 kB / 446.4 MB, free: 12.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.3432, allocations: 169.6 kB / 446.5 MB, free: 12.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3433, allocations: 150.2 kB / 446.7 MB, free: 12.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.3434, allocations: 377.9 kB / 447 MB, free: 11.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.3434, allocations: 67.64 kB / 447.1 MB, free: 11.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003254/0.3467, allocations: 479.6 kB / 447.6 MB, free: 11.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007236/0.3474, allocations: 0.515 MB / 448.1 MB, free: 11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.3474, allocations: 3.188 kB / 448.1 MB, free: 11 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001091/0.3485, allocations: 0.512 MB / 448.6 MB, free: 10.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.3486, allocations: 9.25 kB / 448.6 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.3486, allocations: 12.81 kB / 448.6 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.3497, allocations: 224.2 kB / 448.9 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.35, allocations: 143.9 kB / 449 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000543/0.3506, allocations: 0.6695 MB / 449.7 MB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.3511, allocations: 26.53 kB / 449.7 MB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.3511, allocations: 30.34 kB / 449.7 MB, free: 10.4 MB / 426.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.0002311/0.3514, allocations: 167.7 kB / 449.9 MB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.3515, allocations: 50.06 kB / 449.9 MB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/0.3522, allocations: 419.9 kB / 450.3 MB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.3522, allocations: 7.453 kB / 450.3 MB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3522, allocations: 1.781 kB / 450.3 MB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3522, allocations: 2.344 kB / 450.3 MB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.3534, allocations: 0.7099 MB / 451.1 MB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3534, allocations: 0 / 451.1 MB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007373/0.3541, allocations: 189.2 kB / 451.2 MB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.3543, allocations: 86.86 kB / 451.3 MB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.3544, allocations: 25.92 kB / 451.4 MB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.3544, allocations: 11.91 kB / 451.4 MB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.3555, allocations: 2.405 MB / 453.8 MB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3556, allocations: 3.188 kB / 453.8 MB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005855/0.3561, allocations: 0.5083 MB / 454.3 MB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.392e-05/0.3562, allocations: 10.38 kB / 454.3 MB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.3565, allocations: 20.36 kB / 454.3 MB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.3565, allocations: 37.2 kB / 454.3 MB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.3566, allocations: 14.47 kB / 454.4 MB, free: 7.238 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.3568, allocations: 202.6 kB / 454.6 MB, free: 7.219 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3568, allocations: 0 / 454.6 MB, free: 7.219 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007445/0.3575, allocations: 197.3 kB / 454.8 MB, free: 7.219 MB / 426.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.0003246/0.3579, allocations: 155.4 kB / 454.9 MB, free: 7.148 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007837/0.3586, allocations: 338.4 kB / 455.2 MB, free: 7.133 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-05/0.3587, allocations: 12.34 kB / 455.2 MB, free: 7.133 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.3592, allocations: 318.1 kB / 455.6 MB, free: 7.004 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.3604, allocations: 394.1 kB / 455.9 MB, free: 6.988 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.3707, allocations: 1.186 MB / 457.1 MB, free: 6.426 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.3708, allocations: 169.2 kB / 457.3 MB, free: 6.348 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005572/0.3714, allocations: 113.1 kB / 457.4 MB, free: 6.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005088/0.3719, allocations: 307.3 kB / 457.7 MB, free: 6.277 MB / 426.7 MB Notification: Performance of SimCode: time 1.964e-06/0.3719, allocations: 0.9688 kB / 457.7 MB, free: 6.277 MB / 426.7 MB Notification: Performance of Templates: time 0.01594/0.3878, allocations: 14.82 MB / 472.5 MB, free: 4.91 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.568928581662476]