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.001307/0.001307, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001209/0.001209, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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.9513/0.9513, allocations: 158.6 MB / 186 MB, free: 2.73 MB / 170.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.1415/0.1415, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.553e-06/1.553e-06, allocations: 0 / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.012e-05, allocations: 2.312 kB / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3216/0.3216, allocations: 131.1 MB / 430.2 MB, free: 10.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004387/0.326, allocations: 3.121 MB / 433.3 MB, free: 7.625 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000365/0.3263, allocations: 31.69 kB / 433.4 MB, free: 7.594 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.3269, allocations: 210.5 kB / 433.6 MB, free: 7.387 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.3282, allocations: 0.7846 MB / 434.4 MB, free: 6.598 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.3298, allocations: 0.9078 MB / 435.3 MB, free: 5.688 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002341/0.3321, allocations: 1.859 MB / 437.1 MB, free: 3.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009612/0.3331, allocations: 430.6 kB / 437.5 MB, free: 3.398 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.3348, allocations: 0.9392 MB / 438.5 MB, free: 2.457 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009966/0.3358, allocations: 0.6311 MB / 439.1 MB, free: 1.824 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.3359, allocations: 64 kB / 439.2 MB, free: 1.762 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007051/0.3366, allocations: 279.5 kB / 439.4 MB, free: 1.488 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.337, allocations: 291.1 kB / 439.7 MB, free: 1.203 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003785/0.3373, allocations: 279.4 kB / 440 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.3386, allocations: 0.7788 MB / 440.8 MB, free: 152 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3386, allocations: 0 / 440.8 MB, free: 152 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3386, allocations: 0 / 440.8 MB, free: 152 kB / 394.7 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.3387, allocations: 4 kB / 440.8 MB, free: 148 kB / 394.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.001727/0.3404, allocations: 0.9355 MB / 441.7 MB, free: 15.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3404, allocations: 12.03 kB / 441.7 MB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003374/0.3408, allocations: 132.6 kB / 441.9 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/0.3415, allocations: 431.4 kB / 442.3 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.3416, allocations: 152.4 kB / 442.4 MB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-05/0.3417, allocations: 56.36 kB / 442.5 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007667/0.3424, allocations: 0.8959 MB / 443.4 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.3424, allocations: 4.125 kB / 443.4 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.3425, allocations: 27.94 kB / 443.4 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/0.3425, allocations: 40.97 kB / 443.5 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.3429, allocations: 240.3 kB / 443.7 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.3454, allocations: 2.442 MB / 446.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.3457, allocations: 211.3 kB / 446.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.3458, allocations: 83.66 kB / 446.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.346, allocations: 36.3 kB / 446.5 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.346, allocations: 42.83 kB / 446.5 MB, free: 10.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.845e-06/0.346, allocations: 0 / 446.5 MB, free: 10.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001669/0.3477, allocations: 0.793 MB / 447.3 MB, free: 9.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.3478, allocations: 132.5 kB / 447.4 MB, free: 9.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.3481, allocations: 470.8 kB / 447.9 MB, free: 8.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.3481, allocations: 37.7 kB / 447.9 MB, free: 8.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.3483, allocations: 325.2 kB / 448.2 MB, free: 8.258 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3484, allocations: 178.5 kB / 448.4 MB, free: 8.082 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.3485, allocations: 138.5 kB / 448.5 MB, free: 7.941 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3487, allocations: 370.7 kB / 448.9 MB, free: 7.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3488, allocations: 69.95 kB / 449 MB, free: 7.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.3491, allocations: 474.2 kB / 449.4 MB, free: 6.867 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.3495, allocations: 0.5199 MB / 450 MB, free: 6.207 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.3495, allocations: 4 kB / 450 MB, free: 6.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006979/0.3502, allocations: 0.513 MB / 450.5 MB, free: 5.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3502, allocations: 9 kB / 450.5 MB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3503, allocations: 15.98 kB / 450.5 MB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/0.3509, allocations: 224.4 kB / 450.7 MB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.3511, allocations: 127.8 kB / 450.8 MB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004939/0.3516, allocations: 0.6564 MB / 451.5 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.3519, allocations: 35.92 kB / 451.5 MB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.3519, allocations: 32.03 kB / 451.6 MB, free: 4.562 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.000194/0.3521, allocations: 161.6 kB / 451.7 MB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/0.3522, allocations: 51.94 kB / 451.8 MB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005822/0.3528, allocations: 420 kB / 452.2 MB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.3528, allocations: 11.94 kB / 452.2 MB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3528, allocations: 0 / 452.2 MB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3528, allocations: 3.984 kB / 452.2 MB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.3538, allocations: 0.6884 MB / 452.9 MB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3538, allocations: 4 kB / 452.9 MB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/0.3542, allocations: 168 kB / 453.1 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-05/0.3543, allocations: 24.83 kB / 453.1 MB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.3543, allocations: 15.98 kB / 453.1 MB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.3558, allocations: 2.407 MB / 455.5 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3558, allocations: 3.938 kB / 455.5 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2381/0.5939, allocations: 0.5071 MB / 456 MB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/0.5943, allocations: 77.98 kB / 456.1 MB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/0.5944, allocations: 12.77 kB / 456.1 MB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.5948, allocations: 15.39 kB / 456.1 MB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.5949, allocations: 41.66 kB / 456.2 MB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.5949, allocations: 16.53 kB / 456.2 MB, free: 24.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003468/0.5953, allocations: 194.9 kB / 456.4 MB, free: 24.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5953, allocations: 0.8125 kB / 456.4 MB, free: 24.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008152/0.5961, allocations: 195.9 kB / 456.6 MB, free: 24.04 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.000565/0.5967, allocations: 176.6 kB / 456.7 MB, free: 23.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.5979, allocations: 346.9 kB / 457.1 MB, free: 23.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.762e-05/0.598, allocations: 11.31 kB / 457.1 MB, free: 23.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007585/0.5987, allocations: 307.9 kB / 457.4 MB, free: 23.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.5998, allocations: 339.1 kB / 457.7 MB, free: 23.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.6021, allocations: 1.132 MB / 458.8 MB, free: 23.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.6023, allocations: 167.7 kB / 459 MB, free: 23.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005091/0.6029, allocations: 117.6 kB / 459.1 MB, free: 23.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/0.6035, allocations: 303.4 kB / 459.4 MB, free: 23.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.6035, allocations: 0.9688 kB / 459.4 MB, free: 23.14 MB / 410.7 MB Notification: Performance of Templates: time 0.02045/0.624, allocations: 14.11 MB / 473.5 MB, free: 21.79 MB / 410.7 MB " [Timeout remaining time 659] 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 -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.8834880371578038]