Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001278/0.001278, allocations: 83.59 kB / 21.18 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.0009209/0.0009209, allocations: 165 kB / 24.56 MB, free: 8 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.083/1.083, allocations: 177.1 MB / 205 MB, free: 5.621 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.2558/0.2558, allocations: 32.81 MB / 294.3 MB, free: 1.258 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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,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.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.072e-05, allocations: 5.406 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3238/0.3239, allocations: 148.7 MB / 0.5125 GB, free: 17.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003914/0.3278, allocations: 2.597 MB / 0.515 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004183/0.3282, allocations: 27.31 kB / 0.515 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.3288, allocations: 212.2 kB / 0.5152 GB, free: 15.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.331, allocations: 1.088 MB / 0.5163 GB, free: 15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.3325, allocations: 0.8339 MB / 0.5171 GB, free: 14.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.334, allocations: 1.913 MB / 0.519 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/0.3344, allocations: 419.6 kB / 0.5194 GB, free: 13.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.3356, allocations: 1.14 MB / 0.5205 GB, free: 12.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005916/0.3362, allocations: 0.5932 MB / 0.5211 GB, free: 12.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.88e-05/0.3363, allocations: 61.25 kB / 0.5211 GB, free: 12.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006619/0.3369, allocations: 452.8 kB / 0.5216 GB, free: 12.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.3371, allocations: 286.5 kB / 0.5218 GB, free: 12.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.3374, allocations: 289.7 kB / 0.5221 GB, free: 12.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009849/0.3384, allocations: 0.9866 MB / 0.5231 GB, free: 12.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3384, allocations: 0 / 0.5231 GB, free: 12.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3384, allocations: 0 / 0.5231 GB, free: 12.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.3384, allocations: 3.531 kB / 0.5231 GB, free: 12.06 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.001473/0.3399, allocations: 1.125 MB / 0.5242 GB, free: 11.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3399, allocations: 11.56 kB / 0.5242 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006888/0.3406, allocations: 220.9 kB / 0.5244 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.3412, allocations: 0.4958 MB / 0.5249 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-05/0.3413, allocations: 149 kB / 0.525 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.771e-05/0.3414, allocations: 63.7 kB / 0.5251 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007999/0.3422, allocations: 0.9721 MB / 0.526 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3422, allocations: 6.438 kB / 0.526 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.797e-05/0.3422, allocations: 21.56 kB / 0.5261 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/0.3423, allocations: 38.66 kB / 0.5261 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005299/0.3428, allocations: 310.8 kB / 0.5264 GB, free: 9.809 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.002345/0.3452, allocations: 3.858 MB / 0.5302 GB, free: 6.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.3455, allocations: 220.4 kB / 0.5304 GB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3456, allocations: 88.67 kB / 0.5305 GB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.729e-05/0.3457, allocations: 18.62 kB / 0.5305 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.3457, allocations: 40.55 kB / 0.5305 GB, free: 6.352 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.933e-06/0.3457, allocations: 0 / 0.5305 GB, free: 6.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.003168/0.3489, allocations: 1.169 MB / 0.5317 GB, free: 5.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.3489, allocations: 140.5 kB / 0.5318 GB, free: 5.609 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.3494, allocations: 0.554 MB / 0.5323 GB, free: 5.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3494, allocations: 36.77 kB / 0.5324 GB, free: 5.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.3496, allocations: 435.2 kB / 0.5328 GB, free: 4.898 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.945e-05/0.3496, allocations: 150.9 kB / 0.5329 GB, free: 4.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.3498, allocations: 166.3 kB / 0.5331 GB, free: 4.695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.3499, allocations: 0.5472 MB / 0.5336 GB, free: 4.172 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.3501, allocations: 92.12 kB / 0.5337 GB, free: 4.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.3504, allocations: 0.6433 MB / 0.5343 GB, free: 3.418 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.351, allocations: 0.7047 MB / 0.535 GB, free: 2.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.351, allocations: 2.594 kB / 0.535 GB, free: 2.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009076/0.3519, allocations: 0.6673 MB / 0.5357 GB, free: 2.445 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3519, allocations: 11.62 kB / 0.5357 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3519, allocations: 8.578 kB / 0.5357 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007904/0.3527, allocations: 261.4 kB / 0.5359 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.353, allocations: 127.5 kB / 0.5361 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005967/0.3536, allocations: 1 MB / 0.537 GB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.3539, allocations: 28.91 kB / 0.5371 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/0.354, allocations: 64.8 kB / 0.5371 GB, free: 1.512 MB / 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.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 (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.0001625/0.3541, allocations: 206.3 kB / 0.5373 GB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3542, allocations: 76.56 kB / 0.5374 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009404/0.3552, allocations: 0.691 MB / 0.5381 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3552, allocations: 2.406 kB / 0.5381 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3552, allocations: 7.062 kB / 0.5381 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3552, allocations: 2.438 kB / 0.5381 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.3562, allocations: 0.9237 MB / 0.539 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3562, allocations: 6.938 kB / 0.539 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/0.3569, allocations: 197.4 kB / 0.5392 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.111e-05/0.357, allocations: 32.88 kB / 0.5392 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.357, allocations: 18.14 kB / 0.5392 GB, free: 432 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.3585, allocations: 3.555 MB / 0.5427 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3586, allocations: 6.875 kB / 0.5427 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/0.3593, allocations: 0.6022 MB / 0.5433 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.3594, allocations: 94.98 kB / 0.5434 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.3595, allocations: 9.25 kB / 0.5434 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.3597, allocations: 18.83 kB / 0.5434 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.3598, allocations: 39.47 kB / 0.5435 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.3598, allocations: 35.05 kB / 0.5435 GB, free: 12.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002863/0.3601, allocations: 346.5 kB / 0.5438 GB, free: 12.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3601, allocations: 0 / 0.5438 GB, free: 12.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007033/0.3608, allocations: 250.2 kB / 0.5441 GB, free: 12.13 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.0004873/0.3613, allocations: 268.1 kB / 0.5443 GB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006637/0.362, allocations: 391 kB / 0.5447 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.362, allocations: 0 / 0.5447 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005822/0.3626, allocations: 389.4 kB / 0.5451 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.3635, allocations: 316.9 kB / 0.5454 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.3654, allocations: 1.173 MB / 0.5465 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.3655, allocations: 171.8 kB / 0.5467 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006686/0.3662, allocations: 425.8 kB / 0.5471 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.3664, allocations: 94.08 kB / 0.5472 GB, free: 10.68 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3664, allocations: 0 / 0.5472 GB, free: 10.68 MB / 426.7 MB Notification: Performance of Templates: time 0.01999/0.3864, allocations: 16.37 MB / 0.5632 GB, free: 12.31 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.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: 4.057592652738094]