Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0007968/0.0007968, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009287/0.001726, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006673/0.0006673, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008102/0.001478, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.023/1.023, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.127, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3479/0.3479, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04317/0.3911, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 1.344 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.41e-05, allocations: 5.297 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1582/0.1583, allocations: 134.5 MB / 425.1 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004661/0.1629, allocations: 3.141 MB / 428.2 MB, free: 14.19 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.1633, allocations: 31.69 kB / 428.3 MB, free: 14.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005502/0.1639, allocations: 218.5 kB / 428.5 MB, free: 13.94 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.1652, allocations: 0.7767 MB / 429.2 MB, free: 13.16 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.1669, allocations: 0.8816 MB / 430.1 MB, free: 12.28 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00226/0.1692, allocations: 1.883 MB / 432 MB, free: 10.39 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006395/0.1698, allocations: 425.7 kB / 432.4 MB, free: 9.969 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.171, allocations: 0.9813 MB / 433.4 MB, free: 8.984 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006471/0.1716, allocations: 0.6389 MB / 434 MB, free: 8.344 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.153e-05/0.1717, allocations: 68 kB / 434.1 MB, free: 8.277 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004749/0.1722, allocations: 287.4 kB / 434.4 MB, free: 7.996 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.1724, allocations: 231.4 kB / 434.6 MB, free: 7.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.1726, allocations: 227.6 kB / 434.8 MB, free: 7.547 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007455/0.1733, allocations: 0.7009 MB / 435.5 MB, free: 6.844 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.737e-05/0.1734, allocations: 0 / 435.5 MB, free: 6.844 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1734, allocations: 0 / 435.5 MB, free: 6.844 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.1734, allocations: 0 / 435.5 MB, free: 6.844 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.00146/0.1749, allocations: 1.179 MB / 436.7 MB, free: 5.617 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1749, allocations: 8.625 kB / 436.7 MB, free: 5.609 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002592/0.1752, allocations: 132.6 kB / 436.9 MB, free: 5.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.1757, allocations: 431.4 kB / 437.3 MB, free: 5.035 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.1758, allocations: 160.3 kB / 437.4 MB, free: 4.852 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-05/0.1759, allocations: 56.36 kB / 437.5 MB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1769, allocations: 0.864 MB / 438.4 MB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1769, allocations: 192 / 438.4 MB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.177, allocations: 27.94 kB / 438.4 MB, free: 3.758 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/0.177, allocations: 40.92 kB / 438.4 MB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.1773, allocations: 244.3 kB / 438.7 MB, free: 3.469 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.1794, allocations: 2.444 MB / 441.1 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.1797, allocations: 219.4 kB / 441.3 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.084e-05/0.1798, allocations: 83.22 kB / 441.4 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.1799, allocations: 36.3 kB / 441.4 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1799, allocations: 38.89 kB / 441.5 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 1.543e-06/0.1799, allocations: 0 / 441.5 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.2486/0.4285, allocations: 0.7731 MB / 442.2 MB, free: 17.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.4286, allocations: 61.59 kB / 442.3 MB, free: 17.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/0.4291, allocations: 479.5 kB / 442.8 MB, free: 17.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.4291, allocations: 35.52 kB / 442.8 MB, free: 17.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.4293, allocations: 326 kB / 443.1 MB, free: 16.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.4293, allocations: 170.5 kB / 443.3 MB, free: 16.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.4295, allocations: 143 kB / 443.4 MB, free: 16.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.659e-05/0.4296, allocations: 375.8 kB / 443.8 MB, free: 16.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.4297, allocations: 63.31 kB / 443.9 MB, free: 16.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.43, allocations: 487.7 kB / 444.3 MB, free: 16.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.4304, allocations: 0.5099 MB / 444.8 MB, free: 15.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4304, allocations: 2.938 kB / 444.8 MB, free: 15.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006306/0.4311, allocations: 0.5133 MB / 445.4 MB, free: 15.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4311, allocations: 10.66 kB / 445.4 MB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.4311, allocations: 11.69 kB / 445.4 MB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006411/0.4317, allocations: 236.7 kB / 445.6 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.432, allocations: 142.4 kB / 445.8 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003629/0.4323, allocations: 0.6565 MB / 446.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.4326, allocations: 29.81 kB / 446.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.4326, allocations: 31.77 kB / 446.5 MB, free: 15.09 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.0001499/0.4327, allocations: 172.2 kB / 446.6 MB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.4328, allocations: 52.84 kB / 446.7 MB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.4333, allocations: 411.5 kB / 447.1 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.4333, allocations: 2.906 kB / 447.1 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4333, allocations: 3.938 kB / 447.1 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4333, allocations: 2.922 kB / 447.1 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007361/0.434, allocations: 0.7082 MB / 447.8 MB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.434, allocations: 3.312 kB / 447.8 MB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005152/0.4346, allocations: 194.1 kB / 448 MB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.4347, allocations: 73.62 kB / 448.1 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.7e-05/0.4348, allocations: 25.36 kB / 448.1 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.4348, allocations: 13.47 kB / 448.1 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008758/0.4357, allocations: 2.405 MB / 450.5 MB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4357, allocations: 2.625 kB / 450.5 MB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.4361, allocations: 0.5077 MB / 451 MB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.4362, allocations: 14.7 kB / 451 MB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.4363, allocations: 16.48 kB / 451.1 MB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.4364, allocations: 34.86 kB / 451.1 MB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.4364, allocations: 17.61 kB / 451.1 MB, free: 11.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.4366, allocations: 201.5 kB / 451.3 MB, free: 11.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4366, allocations: 0 / 451.3 MB, free: 11.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004724/0.4371, allocations: 202.7 kB / 451.5 MB, free: 11.92 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.0002336/0.4373, allocations: 152.2 kB / 451.7 MB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005177/0.4378, allocations: 348.5 kB / 452 MB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.486e-05/0.4378, allocations: 13.23 kB / 452 MB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.4382, allocations: 317.7 kB / 452.3 MB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.439, allocations: 398.1 kB / 452.7 MB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007253/0.4463, allocations: 1.177 MB / 453.9 MB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.4464, allocations: 166.8 kB / 454 MB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000336/0.4467, allocations: 121.8 kB / 454.2 MB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/0.4472, allocations: 303.1 kB / 454.5 MB, free: 10.97 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4472, allocations: 0.8438 kB / 454.5 MB, free: 10.97 MB / 426.7 MB Notification: Performance of Templates: time 0.01846/0.4656, allocations: 14.83 MB / 469.3 MB, free: 9.629 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8814178174361587]