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.0009527/0.0009527, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009965/0.0009965, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 1.001/1.001, allocations: 177.1 MB / 205 MB, free: 5.648 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.2532/0.2532, allocations: 32.8 MB / 294.3 MB, free: 1.312 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.532e-06/1.532e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.444e-05, allocations: 9.828 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3252/0.3252, allocations: 134.6 MB / 0.4987 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004288/0.3295, allocations: 3.082 MB / 0.5017 GB, free: 25.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/0.3299, allocations: 27.69 kB / 0.5017 GB, free: 25.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.3306, allocations: 220.2 kB / 0.5019 GB, free: 25.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.332, allocations: 0.7782 MB / 0.5027 GB, free: 24.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.3342, allocations: 0.905 MB / 0.5035 GB, free: 24.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.3365, allocations: 1.857 MB / 0.5054 GB, free: 23.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007175/0.3372, allocations: 421.1 kB / 0.5058 GB, free: 23.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.3387, allocations: 0.9538 MB / 0.5067 GB, free: 22.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.3398, allocations: 0.6735 MB / 0.5074 GB, free: 22.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.34, allocations: 62.25 kB / 0.5074 GB, free: 22.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006204/0.3406, allocations: 283.9 kB / 0.5077 GB, free: 22.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.3409, allocations: 282 kB / 0.5079 GB, free: 22.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.3412, allocations: 290.2 kB / 0.5082 GB, free: 22.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009911/0.3421, allocations: 0.7828 MB / 0.509 GB, free: 21.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3422, allocations: 0 / 0.509 GB, free: 21.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3422, allocations: 3.125 kB / 0.509 GB, free: 21.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.3422, allocations: 0 / 0.509 GB, free: 21.8 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.001436/0.3436, allocations: 1.082 MB / 0.5101 GB, free: 21.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3436, allocations: 8.5 kB / 0.5101 GB, free: 21.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/0.344, allocations: 159.9 kB / 0.5102 GB, free: 20.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.3445, allocations: 494 kB / 0.5107 GB, free: 20.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.812e-05/0.3446, allocations: 155.1 kB / 0.5108 GB, free: 20.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.3447, allocations: 57.72 kB / 0.5109 GB, free: 20.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.3454, allocations: 0.9435 MB / 0.5118 GB, free: 19.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.3454, allocations: 7.375 kB / 0.5118 GB, free: 19.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.3455, allocations: 32.67 kB / 0.5118 GB, free: 19.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/0.3455, allocations: 38.8 kB / 0.5119 GB, free: 19.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.346, allocations: 300.7 kB / 0.5122 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.3481, allocations: 3.51 MB / 0.5156 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.3485, allocations: 270.4 kB / 0.5159 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3487, allocations: 96.27 kB / 0.5159 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.3488, allocations: 44.41 kB / 0.516 GB, free: 16.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.3488, allocations: 44.8 kB / 0.516 GB, free: 16.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.823e-06/0.3488, allocations: 0 / 0.516 GB, free: 16.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.00157/0.3504, allocations: 0.9671 MB / 0.517 GB, free: 16.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.3504, allocations: 141.2 kB / 0.5171 GB, free: 15.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.3508, allocations: 0.5431 MB / 0.5176 GB, free: 15.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.3508, allocations: 36.67 kB / 0.5177 GB, free: 15.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.351, allocations: 431.8 kB / 0.5181 GB, free: 15.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.3511, allocations: 175.8 kB / 0.5183 GB, free: 15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.3512, allocations: 152.6 kB / 0.5184 GB, free: 14.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.3513, allocations: 0.5463 MB / 0.5189 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.3514, allocations: 89.53 kB / 0.519 GB, free: 14.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.3517, allocations: 0.6217 MB / 0.5196 GB, free: 13.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.3522, allocations: 0.6791 MB / 0.5203 GB, free: 13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3522, allocations: 5.719 kB / 0.5203 GB, free: 13 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008859/0.3531, allocations: 0.678 MB / 0.521 GB, free: 12.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3531, allocations: 11.56 kB / 0.521 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.3531, allocations: 8.25 kB / 0.521 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006597/0.3538, allocations: 238.1 kB / 0.5212 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.354, allocations: 127.4 kB / 0.5213 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004924/0.3545, allocations: 0.9733 MB / 0.5223 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.3547, allocations: 26.41 kB / 0.5223 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.3547, allocations: 41.7 kB / 0.5223 GB, free: 11.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.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[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.0001466/0.3549, allocations: 212.1 kB / 0.5225 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/0.355, allocations: 80.56 kB / 0.5226 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006354/0.3556, allocations: 0.4904 MB / 0.5231 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.3556, allocations: 2.844 kB / 0.5231 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3556, allocations: 3 kB / 0.5231 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3556, allocations: 6.812 kB / 0.5231 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009425/0.3566, allocations: 0.956 MB / 0.524 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3566, allocations: 3.062 kB / 0.524 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.3571, allocations: 199.7 kB / 0.5242 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.152e-05/0.3571, allocations: 23.94 kB / 0.5243 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.3571, allocations: 14.75 kB / 0.5243 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009182/0.3581, allocations: 3.564 MB / 0.5278 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3581, allocations: 2.406 kB / 0.5278 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.3587, allocations: 0.6457 MB / 0.5284 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3588, allocations: 114.7 kB / 0.5285 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.3588, allocations: 10.47 kB / 0.5285 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.359, allocations: 19.2 kB / 0.5285 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.3591, allocations: 36.53 kB / 0.5286 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.3591, allocations: 22.5 kB / 0.5286 GB, free: 6.562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002416/0.3593, allocations: 341.5 kB / 0.5289 GB, free: 6.391 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3593, allocations: 0 / 0.5289 GB, free: 6.391 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005586/0.3599, allocations: 193 kB / 0.5291 GB, free: 6.367 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.00028/0.3602, allocations: 176.4 kB / 0.5293 GB, free: 6.246 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006427/0.3608, allocations: 410.6 kB / 0.5297 GB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3608, allocations: 0 / 0.5297 GB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006428/0.3615, allocations: 410.3 kB / 0.53 GB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008051/0.3623, allocations: 336.4 kB / 0.5304 GB, free: 5.832 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.3639, allocations: 1.186 MB / 0.5315 GB, free: 5.105 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.364, allocations: 169.9 kB / 0.5317 GB, free: 5.023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.3644, allocations: 179.5 kB / 0.5319 GB, free: 4.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3645, allocations: 60.58 kB / 0.5319 GB, free: 4.969 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3645, allocations: 0 / 0.5319 GB, free: 4.969 MB / 410.7 MB Notification: Performance of Templates: time 0.01589/0.3803, allocations: 14.06 MB / 0.5456 GB, free: 14.45 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 -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.8044202770106494]