Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001249/0.001249, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00141/0.00141, allocations: 169 kB / 24.99 MB, free: 8.789 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2721/0.2721, 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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,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.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.188e-05, allocations: 2.312 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3291/0.3291, allocations: 170.9 MB / 0.5361 GB, free: 0.625 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005583/0.3347, allocations: 5.399 MB / 0.5413 GB, free: 13 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005286/0.3352, allocations: 30.66 kB / 0.5414 GB, free: 12.98 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007751/0.336, allocations: 311.4 kB / 0.5416 GB, free: 12.82 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.3387, allocations: 1.32 MB / 0.5429 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.3405, allocations: 1.014 MB / 0.5439 GB, free: 11.58 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001865/0.3424, allocations: 1.876 MB / 0.5458 GB, free: 10.72 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006294/0.343, allocations: 414.1 kB / 0.5462 GB, free: 10.47 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.3451, allocations: 1.345 MB / 0.5475 GB, free: 9.762 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008706/0.3459, allocations: 0.6409 MB / 0.5481 GB, free: 9.426 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.346, allocations: 62.81 kB / 0.5482 GB, free: 9.426 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.3471, allocations: 0.5549 MB / 0.5487 GB, free: 9.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.3474, allocations: 297 kB / 0.549 GB, free: 8.973 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.3477, allocations: 282.8 kB / 0.5492 GB, free: 8.844 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.3492, allocations: 1.093 MB / 0.5503 GB, free: 8.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3492, allocations: 3.938 kB / 0.5503 GB, free: 8.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3492, allocations: 0 / 0.5503 GB, free: 8.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.3493, allocations: 0 / 0.5503 GB, free: 8.195 MB / 426.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.001801/0.3511, allocations: 1.152 MB / 0.5514 GB, free: 7.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3511, allocations: 8.188 kB / 0.5515 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000731/0.3518, allocations: 221.4 kB / 0.5517 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006507/0.3525, allocations: 483.4 kB / 0.5521 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.3526, allocations: 156.5 kB / 0.5523 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/0.3527, allocations: 65.19 kB / 0.5523 GB, free: 6.664 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.3536, allocations: 0.9993 MB / 0.5533 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.3536, allocations: 2.938 kB / 0.5533 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.3537, allocations: 25.83 kB / 0.5533 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/0.3537, allocations: 45.72 kB / 0.5534 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005182/0.3543, allocations: 312.2 kB / 0.5537 GB, free: 5.539 MB / 426.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.003067/0.3573, allocations: 3.876 MB / 0.5575 GB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.3577, allocations: 212.1 kB / 0.5577 GB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3578, allocations: 88.2 kB / 0.5578 GB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.4e-05/0.3579, allocations: 16.27 kB / 0.5578 GB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3579, allocations: 45.61 kB / 0.5578 GB, free: 1.488 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/0.3579, allocations: 0 / 0.5578 GB, free: 1.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.003084/0.361, allocations: 1.174 MB / 0.559 GB, free: 272 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.3611, allocations: 136.5 kB / 0.5591 GB, free: 104 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004582/0.3615, allocations: 0.5413 MB / 0.5596 GB, free: 15.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.3616, allocations: 33.7 kB / 0.5596 GB, free: 15.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.3618, allocations: 435 kB / 0.5601 GB, free: 15.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.032e-05/0.3619, allocations: 158.7 kB / 0.5602 GB, free: 14.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.362, allocations: 160.2 kB / 0.5604 GB, free: 14.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3622, allocations: 0.5469 MB / 0.5609 GB, free: 14.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.3624, allocations: 85.94 kB / 0.561 GB, free: 14.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.3628, allocations: 0.6191 MB / 0.5616 GB, free: 13.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.3634, allocations: 0.6645 MB / 0.5622 GB, free: 12.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3634, allocations: 4 kB / 0.5622 GB, free: 12.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008454/0.3642, allocations: 0.6488 MB / 0.5629 GB, free: 11.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3642, allocations: 8 kB / 0.5629 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3643, allocations: 12 kB / 0.5629 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007293/0.365, allocations: 252.4 kB / 0.5631 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.3652, allocations: 119.8 kB / 0.5632 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007673/0.366, allocations: 1.005 MB / 0.5642 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.3663, allocations: 24 kB / 0.5643 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.3664, allocations: 67.17 kB / 0.5643 GB, free: 10.24 MB / 442.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.0001801/0.3665, allocations: 204.3 kB / 0.5645 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.962e-05/0.3666, allocations: 71.62 kB / 0.5646 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008822/0.3675, allocations: 0.6859 MB / 0.5653 GB, free: 9.258 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.3675, allocations: 7.984 kB / 0.5653 GB, free: 9.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.3675, allocations: 0 / 0.5653 GB, free: 9.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3675, allocations: 0 / 0.5653 GB, free: 9.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3686, allocations: 0.9411 MB / 0.5662 GB, free: 8.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3686, allocations: 7.562 kB / 0.5662 GB, free: 8.234 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.3691, allocations: 195.7 kB / 0.5664 GB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.38e-05/0.3692, allocations: 23.86 kB / 0.5664 GB, free: 8.016 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.3693, allocations: 27.97 kB / 0.5664 GB, free: 7.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.3708, allocations: 3.554 MB / 0.5699 GB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3708, allocations: 4 kB / 0.5699 GB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008402/0.3717, allocations: 0.5918 MB / 0.5705 GB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.3718, allocations: 99.56 kB / 0.5706 GB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.3719, allocations: 8 kB / 0.5706 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.3721, allocations: 23.92 kB / 0.5706 GB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.3722, allocations: 35.89 kB / 0.5706 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.3722, allocations: 40.08 kB / 0.5707 GB, free: 3.348 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002724/0.3725, allocations: 346.8 kB / 0.571 GB, free: 3.012 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3725, allocations: 0 / 0.571 GB, free: 3.012 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007428/0.3732, allocations: 251.7 kB / 0.5712 GB, free: 2.766 MB / 442.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.0005516/0.3738, allocations: 297.3 kB / 0.5715 GB, free: 2.473 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007053/0.3745, allocations: 385.9 kB / 0.5719 GB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3745, allocations: 0 / 0.5719 GB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005491/0.375, allocations: 386.9 kB / 0.5723 GB, free: 1.695 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008329/0.3759, allocations: 320 kB / 0.5726 GB, free: 1.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.3777, allocations: 1.157 MB / 0.5737 GB, free: 196 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3778, allocations: 170.4 kB / 0.5739 GB, free: 4 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006524/0.3785, allocations: 419.6 kB / 0.5743 GB, free: 15.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.3786, allocations: 100.5 kB / 0.5744 GB, free: 15.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3786, allocations: 0 / 0.5744 GB, free: 15.5 MB / 458.7 MB Notification: Performance of Templates: time 0.02116/0.3998, allocations: 15.44 MB / 0.5894 GB, free: 304 kB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.97472843201831]