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.0008493/0.0008493, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009019/0.0009019, allocations: 170 kB / 24.91 MB, free: 9.191 MB / 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.9617/0.9617, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.2467/0.2467, allocations: 32.8 MB / 294.6 MB, free: 1.176 MB / 266.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 1.422e-06/1.422e-06, allocations: 0 / 323.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116e-05/1.258e-05, allocations: 8.984 kB / 323.2 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3132/0.3132, allocations: 134 MB / 457.2 MB, free: 17.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003799/0.317, allocations: 3.115 MB / 460.4 MB, free: 17.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.3174, allocations: 30.09 kB / 460.4 MB, free: 17.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.318, allocations: 211 kB / 460.6 MB, free: 17.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.3192, allocations: 0.7826 MB / 461.4 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.3208, allocations: 0.9123 MB / 462.3 MB, free: 17.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001865/0.3226, allocations: 1.85 MB / 464.1 MB, free: 17.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006763/0.3233, allocations: 430.7 kB / 464.6 MB, free: 17.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.3246, allocations: 0.9484 MB / 465.5 MB, free: 17.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009/0.3255, allocations: 0.6511 MB / 466.2 MB, free: 16.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3256, allocations: 60.53 kB / 466.2 MB, free: 16.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004904/0.3261, allocations: 278.3 kB / 466.5 MB, free: 16.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.3263, allocations: 282.8 kB / 466.8 MB, free: 16.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.3266, allocations: 287.2 kB / 467.1 MB, free: 16.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008575/0.3274, allocations: 0.7894 MB / 467.8 MB, free: 16.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3274, allocations: 0 / 467.8 MB, free: 16.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3274, allocations: 0 / 467.8 MB, free: 16.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.3275, allocations: 0 / 467.8 MB, free: 16.79 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.00123/0.3287, allocations: 0.9376 MB / 468.8 MB, free: 16.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3287, allocations: 6.125 kB / 468.8 MB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.329, allocations: 126.9 kB / 468.9 MB, free: 16.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.3295, allocations: 437.8 kB / 469.3 MB, free: 16.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-05/0.3296, allocations: 153.8 kB / 469.5 MB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.3296, allocations: 55.11 kB / 469.5 MB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.3302, allocations: 0.867 MB / 470.4 MB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3302, allocations: 5.969 kB / 470.4 MB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.3302, allocations: 23.59 kB / 470.4 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/0.3303, allocations: 39.16 kB / 470.5 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.3306, allocations: 236.8 kB / 470.7 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.3323, allocations: 2.44 MB / 473.1 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.3326, allocations: 226.3 kB / 473.4 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.3327, allocations: 78.55 kB / 473.4 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.3328, allocations: 45.05 kB / 473.5 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3328, allocations: 39.08 kB / 473.5 MB, free: 13.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/0.3328, allocations: 0 / 473.5 MB, free: 13.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001273/0.3341, allocations: 0.7916 MB / 474.3 MB, free: 13.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.3341, allocations: 136 kB / 474.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.3344, allocations: 467 kB / 474.9 MB, free: 13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.3344, allocations: 35.36 kB / 474.9 MB, free: 12.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.3345, allocations: 332.8 kB / 475.3 MB, free: 12.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.3346, allocations: 170.8 kB / 475.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3347, allocations: 136.2 kB / 475.6 MB, free: 12.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.3347, allocations: 382.2 kB / 475.9 MB, free: 12.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/0.3348, allocations: 64.5 kB / 476 MB, free: 12.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.335, allocations: 477.4 kB / 476.5 MB, free: 11.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.3353, allocations: 0.515 MB / 477 MB, free: 11.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3353, allocations: 7 kB / 477 MB, free: 11.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005391/0.3359, allocations: 0.512 MB / 477.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3359, allocations: 10.66 kB / 477.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3359, allocations: 9.156 kB / 477.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.3365, allocations: 228.6 kB / 477.7 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.3367, allocations: 124.5 kB / 477.9 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000324/0.337, allocations: 0.6653 MB / 478.5 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.3372, allocations: 27.23 kB / 478.6 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.3372, allocations: 29.44 kB / 478.6 MB, free: 10.8 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.0001384/0.3373, allocations: 171.1 kB / 478.8 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.3374, allocations: 52.27 kB / 478.8 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.3379, allocations: 412.3 kB / 479.2 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.3379, allocations: 5.281 kB / 479.2 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3379, allocations: 2.719 kB / 479.2 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3379, allocations: 3.141 kB / 479.2 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006616/0.3385, allocations: 0.7071 MB / 479.9 MB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3385, allocations: 3.984 kB / 479.9 MB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.339, allocations: 174.1 kB / 480.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-05/0.339, allocations: 19.36 kB / 480.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.3391, allocations: 14.41 kB / 480.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007037/0.3398, allocations: 2.404 MB / 482.5 MB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3398, allocations: 6.594 kB / 482.5 MB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.3401, allocations: 0.5051 MB / 483 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3402, allocations: 76.5 kB / 483.1 MB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.3403, allocations: 16.22 kB / 483.1 MB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.3404, allocations: 14.72 kB / 483.2 MB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.3405, allocations: 43.61 kB / 483.2 MB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.3405, allocations: 18.52 kB / 483.2 MB, free: 7.605 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.3406, allocations: 194.3 kB / 483.4 MB, free: 7.586 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3406, allocations: 0 / 483.4 MB, free: 7.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.3411, allocations: 196 kB / 483.6 MB, free: 7.578 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.0002542/0.3413, allocations: 163.5 kB / 483.8 MB, free: 7.492 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.3418, allocations: 340.9 kB / 484.1 MB, free: 7.465 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/0.3418, allocations: 16.44 kB / 484.1 MB, free: 7.457 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.3421, allocations: 322 kB / 484.4 MB, free: 7.324 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.3428, allocations: 326.1 kB / 484.7 MB, free: 7.285 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.3441, allocations: 1.137 MB / 485.9 MB, free: 6.703 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.768e-05/0.3442, allocations: 164.3 kB / 486 MB, free: 6.629 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002534/0.3445, allocations: 120 kB / 486.1 MB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/0.3449, allocations: 297.2 kB / 486.4 MB, free: 6.535 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3449, allocations: 2.531 kB / 486.4 MB, free: 6.535 MB / 410.7 MB Notification: Performance of Templates: time 0.01565/0.3606, allocations: 14.18 MB / 0.4889 GB, free: 1.484 MB / 410.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 -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.635844415985048]