Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001353/0.001353, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001061/0.001061, allocations: 167.4 kB / 24.82 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 0.933/0.933, allocations: 177 MB / 205.1 MB, free: 5.473 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.2572/0.2572, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.699e-05, allocations: 3.016 kB / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.324/0.324, allocations: 146 MB / 0.5129 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.3276, allocations: 2.581 MB / 0.5154 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006894/0.3283, allocations: 26.56 kB / 0.5155 GB, free: 14.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006166/0.3289, allocations: 210.7 kB / 0.5157 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.3313, allocations: 1.096 MB / 0.5167 GB, free: 13.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.3329, allocations: 0.8325 MB / 0.5175 GB, free: 13.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.3349, allocations: 1.906 MB / 0.5194 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007731/0.3356, allocations: 422 kB / 0.5198 GB, free: 12.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.3375, allocations: 1.13 MB / 0.5209 GB, free: 11.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009546/0.3384, allocations: 0.6053 MB / 0.5215 GB, free: 11.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.3386, allocations: 64.8 kB / 0.5216 GB, free: 11.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3397, allocations: 446.5 kB / 0.522 GB, free: 11.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.3399, allocations: 282.3 kB / 0.5223 GB, free: 11.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.3403, allocations: 284.9 kB / 0.5225 GB, free: 11.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.3416, allocations: 0.9927 MB / 0.5235 GB, free: 10.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3416, allocations: 0 / 0.5235 GB, free: 10.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3416, allocations: 0 / 0.5235 GB, free: 10.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.3416, allocations: 0 / 0.5235 GB, free: 10.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.001575/0.3432, allocations: 1.123 MB / 0.5246 GB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.3432, allocations: 8.531 kB / 0.5246 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006379/0.3439, allocations: 225.5 kB / 0.5248 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/0.3444, allocations: 481 kB / 0.5253 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.213e-05/0.3445, allocations: 156.3 kB / 0.5254 GB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.46e-05/0.3446, allocations: 56.25 kB / 0.5255 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.3452, allocations: 0.9347 MB / 0.5264 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.3452, allocations: 3.938 kB / 0.5264 GB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.3453, allocations: 28.33 kB / 0.5264 GB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/0.3453, allocations: 45.98 kB / 0.5265 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.3457, allocations: 251.9 kB / 0.5267 GB, free: 8.582 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.3478, allocations: 3.769 MB / 0.5304 GB, free: 5.328 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.3481, allocations: 203.5 kB / 0.5306 GB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.3482, allocations: 72.47 kB / 0.5306 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.918e-05/0.3482, allocations: 20.48 kB / 0.5307 GB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.3483, allocations: 47.05 kB / 0.5307 GB, free: 5.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/0.3483, allocations: 0 / 0.5307 GB, free: 5.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002266/0.3505, allocations: 1 MB / 0.5317 GB, free: 4.672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.3506, allocations: 134.2 kB / 0.5318 GB, free: 4.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.3509, allocations: 0.545 MB / 0.5323 GB, free: 4.207 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.3509, allocations: 32.89 kB / 0.5324 GB, free: 4.172 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.351, allocations: 449.8 kB / 0.5328 GB, free: 3.797 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/0.3511, allocations: 145.9 kB / 0.5329 GB, free: 3.684 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3512, allocations: 167.5 kB / 0.5331 GB, free: 3.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.3513, allocations: 0.561 MB / 0.5337 GB, free: 3.059 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3514, allocations: 70.88 kB / 0.5337 GB, free: 3.055 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.3516, allocations: 0.6253 MB / 0.5343 GB, free: 2.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.352, allocations: 0.6796 MB / 0.535 GB, free: 1.621 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.352, allocations: 6.75 kB / 0.535 GB, free: 1.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006057/0.3526, allocations: 0.6207 MB / 0.5356 GB, free: 1.383 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3526, allocations: 8.531 kB / 0.5356 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3527, allocations: 10.67 kB / 0.5356 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/0.3532, allocations: 248.6 kB / 0.5359 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.3534, allocations: 126.8 kB / 0.536 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004225/0.3539, allocations: 0.989 MB / 0.537 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.3541, allocations: 29.98 kB / 0.537 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.3541, allocations: 56.5 kB / 0.537 GB, free: 472 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (70): * Single equations (assignments): 69 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.3543, allocations: 201.8 kB / 0.5372 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.3544, allocations: 78.36 kB / 0.5373 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006922/0.355, allocations: 0.6747 MB / 0.538 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.355, allocations: 5.125 kB / 0.538 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3551, allocations: 0 / 0.538 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3551, allocations: 0 / 0.538 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008958/0.356, allocations: 0.828 MB / 0.5388 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.356, allocations: 0 / 0.5388 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.3564, allocations: 174.3 kB / 0.5389 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.346e-05/0.3565, allocations: 30.92 kB / 0.539 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.3565, allocations: 18.91 kB / 0.539 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.3581, allocations: 3.514 MB / 0.5424 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3581, allocations: 0 / 0.5424 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000654/0.3588, allocations: 0.5702 MB / 0.543 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.3589, allocations: 98.41 kB / 0.5431 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.359, allocations: 9.219 kB / 0.5431 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3592, allocations: 15.58 kB / 0.5431 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.3593, allocations: 43.03 kB / 0.5431 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.3593, allocations: 36.34 kB / 0.5432 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000235/0.3596, allocations: 326.2 kB / 0.5435 GB, free: 11.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3596, allocations: 0 / 0.5435 GB, free: 11.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007838/0.3603, allocations: 247 kB / 0.5437 GB, free: 11.21 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004719/0.3608, allocations: 259.5 kB / 0.544 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005717/0.3614, allocations: 367.6 kB / 0.5443 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3614, allocations: 3.125 kB / 0.5443 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005014/0.3619, allocations: 354.8 kB / 0.5447 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009753/0.3629, allocations: 322.5 kB / 0.545 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.3647, allocations: 1.155 MB / 0.5461 GB, free: 9.977 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.3648, allocations: 166.3 kB / 0.5462 GB, free: 9.895 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006478/0.3655, allocations: 364.9 kB / 0.5466 GB, free: 9.816 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006626/0.3661, allocations: 381.8 kB / 0.547 GB, free: 9.707 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3661, allocations: 0 / 0.547 GB, free: 9.707 MB / 426.7 MB Notification: Performance of Templates: time 0.02359/0.3897, allocations: 16.58 MB / 0.5631 GB, free: 10.7 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.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.8109353738836944]