Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009124/0.0009124, allocations: 83.67 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009305/0.0009305, allocations: 162.9 kB / 24.99 MB, free: 9.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.011/1.011, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2915/0.2915, allocations: 34.87 MB / 296.6 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.889e-05, allocations: 3.156 kB / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3287/0.3287, allocations: 143.5 MB / 0.5101 GB, free: 18.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005357/0.3341, allocations: 5.729 MB / 0.5157 GB, free: 14.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.3344, allocations: 27.25 kB / 0.5157 GB, free: 14.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.335, allocations: 320.9 kB / 0.516 GB, free: 14.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.3361, allocations: 0.9143 MB / 0.5169 GB, free: 14.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.3375, allocations: 1.068 MB / 0.5179 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.3386, allocations: 1.829 MB / 0.5197 GB, free: 12.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.3391, allocations: 423.9 kB / 0.5201 GB, free: 12.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008972/0.34, allocations: 1.005 MB / 0.5211 GB, free: 12.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.3406, allocations: 0.6993 MB / 0.5218 GB, free: 11.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.424e-05/0.3407, allocations: 64.47 kB / 0.5219 GB, free: 11.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005619/0.3412, allocations: 493.9 kB / 0.5223 GB, free: 11.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.3414, allocations: 287.8 kB / 0.5226 GB, free: 11.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.3416, allocations: 288.5 kB / 0.5229 GB, free: 11.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008136/0.3424, allocations: 0.9068 MB / 0.5238 GB, free: 11.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3424, allocations: 0 / 0.5238 GB, free: 11.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3424, allocations: 10.75 kB / 0.5238 GB, free: 11.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3424, allocations: 0 / 0.5238 GB, free: 11.16 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.001141/0.3436, allocations: 1.096 MB / 0.5248 GB, free: 10.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.3436, allocations: 8.219 kB / 0.5248 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.3439, allocations: 156.2 kB / 0.525 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.3444, allocations: 497.9 kB / 0.5255 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.48e-05/0.3444, allocations: 155.2 kB / 0.5256 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.3445, allocations: 57.61 kB / 0.5257 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.3452, allocations: 0.9668 MB / 0.5266 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3452, allocations: 14.61 kB / 0.5266 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.3452, allocations: 32.39 kB / 0.5267 GB, free: 9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.3453, allocations: 40.61 kB / 0.5267 GB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.3457, allocations: 295.1 kB / 0.527 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.3476, allocations: 3.535 MB / 0.5304 GB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.348, allocations: 272.8 kB / 0.5307 GB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.3482, allocations: 100.3 kB / 0.5308 GB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.3483, allocations: 66.8 kB / 0.5309 GB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.3483, allocations: 40.28 kB / 0.5309 GB, free: 5.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.503e-06/0.3483, allocations: 3.938 kB / 0.5309 GB, free: 5.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001537/0.3499, allocations: 0.9832 MB / 0.5319 GB, free: 5.301 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.3499, allocations: 138.2 kB / 0.532 GB, free: 5.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.3502, allocations: 0.5317 MB / 0.5325 GB, free: 4.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3503, allocations: 33.7 kB / 0.5325 GB, free: 4.809 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.3504, allocations: 424.9 kB / 0.5329 GB, free: 4.449 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.3505, allocations: 171.7 kB / 0.5331 GB, free: 4.316 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.3506, allocations: 145.8 kB / 0.5332 GB, free: 4.234 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.3506, allocations: 0.5466 MB / 0.5338 GB, free: 3.711 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.3508, allocations: 92.41 kB / 0.5339 GB, free: 3.699 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.3511, allocations: 0.5973 MB / 0.5345 GB, free: 3.023 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.3515, allocations: 0.6416 MB / 0.5351 GB, free: 2.395 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3515, allocations: 2.656 kB / 0.5351 GB, free: 2.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007786/0.3523, allocations: 0.6702 MB / 0.5357 GB, free: 2.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3523, allocations: 12.81 kB / 0.5358 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3523, allocations: 11.41 kB / 0.5358 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/0.353, allocations: 233.5 kB / 0.536 GB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.3532, allocations: 115.4 kB / 0.5361 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004454/0.3536, allocations: 0.9755 MB / 0.537 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.3538, allocations: 26.5 kB / 0.5371 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.3538, allocations: 40.92 kB / 0.5371 GB, free: 1.199 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.0001301/0.354, allocations: 205.3 kB / 0.5373 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.008e-05/0.3541, allocations: 80 kB / 0.5374 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006192/0.3547, allocations: 0.5197 MB / 0.5379 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3547, allocations: 5.156 kB / 0.5379 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3547, allocations: 0 / 0.5379 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3547, allocations: 5.234 kB / 0.5379 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000889/0.3556, allocations: 0.9731 MB / 0.5389 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3556, allocations: 0 / 0.5389 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.3561, allocations: 197.1 kB / 0.539 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.842e-05/0.3561, allocations: 22.83 kB / 0.5391 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.3562, allocations: 27.55 kB / 0.5391 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.3576, allocations: 3.557 MB / 0.5426 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3576, allocations: 2.344 kB / 0.5426 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.3583, allocations: 0.6573 MB / 0.5432 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.3585, allocations: 120 kB / 0.5433 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.3585, allocations: 10.88 kB / 0.5433 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3587, allocations: 19.36 kB / 0.5433 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.3588, allocations: 42.53 kB / 0.5434 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.3588, allocations: 23.31 kB / 0.5434 GB, free: 11.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002773/0.3591, allocations: 338.4 kB / 0.5437 GB, free: 11.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3591, allocations: 0 / 0.5437 GB, free: 11.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004868/0.3596, allocations: 221.2 kB / 0.5439 GB, free: 11.76 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.0003347/0.3599, allocations: 251.1 kB / 0.5442 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006265/0.3605, allocations: 409.9 kB / 0.5446 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3605, allocations: 3.969 kB / 0.5446 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005125/0.361, allocations: 412.7 kB / 0.545 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008312/0.3619, allocations: 320 kB / 0.5453 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.3635, allocations: 1.19 MB / 0.5464 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.3636, allocations: 171.5 kB / 0.5466 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000377/0.364, allocations: 182.1 kB / 0.5468 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3641, allocations: 66.11 kB / 0.5468 GB, free: 10.21 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3641, allocations: 4 kB / 0.5468 GB, free: 10.21 MB / 426.7 MB Notification: Performance of Templates: time 0.01731/0.3814, allocations: 14.28 MB / 0.5608 GB, free: 13.75 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.8143814890645444]