Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009816/0.0009816, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001474/0.001474, allocations: 164.7 kB / 24.99 MB, free: 8.844 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 1.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2769/0.2769, allocations: 34.26 MB / 296 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.553e-05, allocations: 2.312 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3204/0.3205, allocations: 143.6 MB / 0.5094 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006305/0.3268, allocations: 5.723 MB / 0.5149 GB, free: 15.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004562/0.3272, allocations: 27.12 kB / 0.515 GB, free: 15.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008117/0.328, allocations: 323.6 kB / 0.5153 GB, free: 15.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.3295, allocations: 0.9219 MB / 0.5162 GB, free: 14.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.3314, allocations: 1.07 MB / 0.5172 GB, free: 14.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.3328, allocations: 1.828 MB / 0.519 GB, free: 13.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.3333, allocations: 425 kB / 0.5194 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.3343, allocations: 1.004 MB / 0.5204 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007822/0.3351, allocations: 0.6909 MB / 0.5211 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.645e-05/0.3352, allocations: 62.56 kB / 0.5211 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007419/0.336, allocations: 0.4885 MB / 0.5216 GB, free: 12.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.3362, allocations: 292 kB / 0.5219 GB, free: 12.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.3364, allocations: 288.5 kB / 0.5222 GB, free: 12.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009463/0.3374, allocations: 0.9043 MB / 0.523 GB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3374, allocations: 4 kB / 0.5231 GB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3374, allocations: 0 / 0.5231 GB, free: 11.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.3374, allocations: 0 / 0.5231 GB, free: 11.68 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.00136/0.3388, allocations: 1.097 MB / 0.5241 GB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3388, allocations: 8.875 kB / 0.5241 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.3392, allocations: 160.1 kB / 0.5243 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.3398, allocations: 0.4899 MB / 0.5248 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/0.3398, allocations: 159.4 kB / 0.5249 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.213e-05/0.3399, allocations: 53.5 kB / 0.525 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007769/0.3407, allocations: 0.9666 MB / 0.5259 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3407, allocations: 7.328 kB / 0.5259 GB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.3408, allocations: 29.64 kB / 0.5259 GB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.982e-05/0.3408, allocations: 40.69 kB / 0.526 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/0.3413, allocations: 294.3 kB / 0.5263 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.3437, allocations: 3.551 MB / 0.5297 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.3442, allocations: 263.4 kB / 0.53 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.3443, allocations: 102.4 kB / 0.5301 GB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.3445, allocations: 70.31 kB / 0.5301 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3446, allocations: 41.06 kB / 0.5302 GB, free: 6.301 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.964e-06/0.3446, allocations: 0 / 0.5302 GB, free: 6.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001865/0.3464, allocations: 0.9814 MB / 0.5311 GB, free: 5.812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.3465, allocations: 140.1 kB / 0.5313 GB, free: 5.652 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.3469, allocations: 0.5235 MB / 0.5318 GB, free: 5.363 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.3469, allocations: 39.2 kB / 0.5318 GB, free: 5.324 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.347, allocations: 420.8 kB / 0.5322 GB, free: 4.969 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.3471, allocations: 175.9 kB / 0.5324 GB, free: 4.832 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.3473, allocations: 151.5 kB / 0.5325 GB, free: 4.746 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.3474, allocations: 0.5432 MB / 0.5331 GB, free: 4.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.3475, allocations: 93.12 kB / 0.5332 GB, free: 4.211 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.3479, allocations: 0.6009 MB / 0.5337 GB, free: 3.527 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005427/0.3484, allocations: 0.6404 MB / 0.5344 GB, free: 2.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3484, allocations: 0 / 0.5344 GB, free: 2.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009832/0.3494, allocations: 0.6718 MB / 0.535 GB, free: 2.633 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3494, allocations: 9.031 kB / 0.535 GB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3494, allocations: 12.56 kB / 0.535 GB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008156/0.3502, allocations: 227.3 kB / 0.5353 GB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.3505, allocations: 127.7 kB / 0.5354 GB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005218/0.351, allocations: 0.9669 MB / 0.5363 GB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.3513, allocations: 32.42 kB / 0.5364 GB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.3514, allocations: 32.94 kB / 0.5364 GB, free: 1.711 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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.000149/0.3515, allocations: 211.8 kB / 0.5366 GB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3516, allocations: 76.16 kB / 0.5367 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007529/0.3524, allocations: 0.5248 MB / 0.5372 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3524, allocations: 6 kB / 0.5372 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3524, allocations: 0 / 0.5372 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3524, allocations: 6.188 kB / 0.5372 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3535, allocations: 0.9693 MB / 0.5381 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3535, allocations: 7.438 kB / 0.5381 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.3541, allocations: 194.7 kB / 0.5383 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-05/0.3542, allocations: 21.98 kB / 0.5384 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.3542, allocations: 19.34 kB / 0.5384 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.3556, allocations: 3.556 MB / 0.5418 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3556, allocations: 256 / 0.5418 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.3564, allocations: 0.6664 MB / 0.5425 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.3566, allocations: 114.4 kB / 0.5426 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.3567, allocations: 16.92 kB / 0.5426 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.3569, allocations: 22.95 kB / 0.5426 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.357, allocations: 35.09 kB / 0.5427 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.357, allocations: 22.69 kB / 0.5427 GB, free: 12.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002726/0.3573, allocations: 335.2 kB / 0.543 GB, free: 12.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3573, allocations: 4.031 kB / 0.543 GB, free: 12.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006294/0.3579, allocations: 222.6 kB / 0.5432 GB, free: 12.26 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 (47): * Single equations (assignments): 43 * 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.0003453/0.3583, allocations: 252.6 kB / 0.5435 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007381/0.359, allocations: 412.9 kB / 0.5439 GB, free: 12.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.359, allocations: 7.344 kB / 0.5439 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006293/0.3596, allocations: 406.5 kB / 0.5443 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.3608, allocations: 334.9 kB / 0.5446 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.3628, allocations: 1.172 MB / 0.5457 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.363, allocations: 175.8 kB / 0.5459 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004316/0.3634, allocations: 183.6 kB / 0.5461 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3635, allocations: 61.95 kB / 0.5461 GB, free: 10.82 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3635, allocations: 0 / 0.5461 GB, free: 10.82 MB / 426.7 MB Notification: Performance of Templates: time 0.0342/0.3977, allocations: 14.29 MB / 0.5601 GB, free: 14.58 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.8908999029081315]