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.0009477/0.0009477, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.000969/0.000969, allocations: 161 kB / 24.56 MB, free: 20 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.04/1.04, allocations: 177.1 MB / 205 MB, free: 5.285 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.2671/0.2671, allocations: 32.81 MB / 294.3 MB, free: 1.238 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.482e-06/1.482e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.662e-05, allocations: 2.312 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3317/0.3317, allocations: 148.7 MB / 0.5125 GB, free: 17.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00404/0.3357, allocations: 2.589 MB / 0.515 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005938/0.3363, allocations: 30.41 kB / 0.515 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006185/0.3369, allocations: 207.9 kB / 0.5152 GB, free: 15.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.3393, allocations: 1.094 MB / 0.5163 GB, free: 15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.3409, allocations: 0.8254 MB / 0.5171 GB, free: 14.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.3427, allocations: 1.918 MB / 0.519 GB, free: 13.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006785/0.3434, allocations: 414.8 kB / 0.5194 GB, free: 13.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.345, allocations: 1.042 MB / 0.5204 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009612/0.346, allocations: 0.6476 MB / 0.521 GB, free: 12.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.3462, allocations: 60.12 kB / 0.5211 GB, free: 12.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.3472, allocations: 450.8 kB / 0.5215 GB, free: 12.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.3474, allocations: 283.3 kB / 0.5218 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.3477, allocations: 291.8 kB / 0.5221 GB, free: 12.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.3493, allocations: 0.9947 MB / 0.523 GB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3493, allocations: 0 / 0.523 GB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3493, allocations: 6.812 kB / 0.523 GB, free: 12.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.3493, allocations: 3.938 kB / 0.523 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.001822/0.3511, allocations: 1.132 MB / 0.5241 GB, free: 11.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3512, allocations: 8.062 kB / 0.5242 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006668/0.3518, allocations: 218.3 kB / 0.5244 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007121/0.3525, allocations: 0.4904 MB / 0.5248 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.3526, allocations: 153.2 kB / 0.525 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.3527, allocations: 61.58 kB / 0.525 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/0.3536, allocations: 1 MB / 0.526 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.3536, allocations: 10.25 kB / 0.526 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.3536, allocations: 29.3 kB / 0.5261 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-05/0.3537, allocations: 37.95 kB / 0.5261 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.3543, allocations: 306.8 kB / 0.5264 GB, free: 9.777 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.002697/0.3569, allocations: 3.871 MB / 0.5302 GB, free: 6.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.3573, allocations: 210 kB / 0.5304 GB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3575, allocations: 91.28 kB / 0.5305 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.3576, allocations: 18.72 kB / 0.5305 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3576, allocations: 40.61 kB / 0.5305 GB, free: 6.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.785e-06/0.3576, allocations: 0 / 0.5305 GB, free: 6.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002943/0.3605, allocations: 1.168 MB / 0.5317 GB, free: 5.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.3606, allocations: 134.5 kB / 0.5318 GB, free: 5.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004355/0.361, allocations: 0.5421 MB / 0.5323 GB, free: 5.281 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.3611, allocations: 32.73 kB / 0.5323 GB, free: 5.246 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.3613, allocations: 433.9 kB / 0.5328 GB, free: 4.883 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.68e-05/0.3613, allocations: 150.9 kB / 0.5329 GB, free: 4.766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.3615, allocations: 163.6 kB / 0.5331 GB, free: 4.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3616, allocations: 0.5447 MB / 0.5336 GB, free: 4.156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.3618, allocations: 93.47 kB / 0.5337 GB, free: 4.145 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.3621, allocations: 0.6178 MB / 0.5343 GB, free: 3.434 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.3626, allocations: 0.6641 MB / 0.5349 GB, free: 2.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.3626, allocations: 3 kB / 0.5349 GB, free: 2.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000837/0.3634, allocations: 0.6558 MB / 0.5356 GB, free: 2.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3635, allocations: 8.5 kB / 0.5356 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.3635, allocations: 12.91 kB / 0.5356 GB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.3642, allocations: 248.6 kB / 0.5358 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.3645, allocations: 128.3 kB / 0.536 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005901/0.3651, allocations: 1.002 MB / 0.5369 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.3653, allocations: 29.06 kB / 0.537 GB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/0.3654, allocations: 60.38 kB / 0.537 GB, free: 1.578 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 (67): * Single equations (assignments): 66 * 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.0001962/0.3656, allocations: 216.1 kB / 0.5372 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.3657, allocations: 77.33 kB / 0.5373 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008866/0.3666, allocations: 0.6764 MB / 0.538 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3666, allocations: 5.844 kB / 0.538 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3666, allocations: 0 / 0.538 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3666, allocations: 2.016 kB / 0.538 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.3679, allocations: 0.9375 MB / 0.5389 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.3679, allocations: 10.31 kB / 0.5389 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.3685, allocations: 193.5 kB / 0.5391 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.3686, allocations: 27.12 kB / 0.5391 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.3686, allocations: 14.7 kB / 0.5391 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.3708, allocations: 3.557 MB / 0.5426 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3708, allocations: 3.156 kB / 0.5426 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006537/0.3715, allocations: 0.5996 MB / 0.5432 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.3716, allocations: 101.5 kB / 0.5433 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.3717, allocations: 6.656 kB / 0.5433 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.3719, allocations: 15.34 kB / 0.5433 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.97e-05/0.372, allocations: 45.05 kB / 0.5433 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.372, allocations: 32.78 kB / 0.5434 GB, free: 12.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002999/0.3723, allocations: 344.4 kB / 0.5437 GB, free: 12.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3723, allocations: 0 / 0.5437 GB, free: 12.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008485/0.3731, allocations: 249.3 kB / 0.5439 GB, free: 12.2 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.0005482/0.3737, allocations: 267.7 kB / 0.5442 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007422/0.3744, allocations: 379.9 kB / 0.5446 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3744, allocations: 1.562 kB / 0.5446 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.375, allocations: 396.4 kB / 0.5449 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/0.3759, allocations: 308.9 kB / 0.5452 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.3778, allocations: 1.159 MB / 0.5464 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.3779, allocations: 174.4 kB / 0.5465 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000651/0.3786, allocations: 418.3 kB / 0.5469 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.3788, allocations: 98.64 kB / 0.547 GB, free: 10.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3788, allocations: 0 / 0.547 GB, free: 10.77 MB / 426.7 MB Notification: Performance of Templates: time 0.01934/0.3981, allocations: 14.89 MB / 0.5616 GB, free: 13.99 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.020663550589234]