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.002446/0.002446, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002807/0.002807, allocations: 161.3 kB / 24.27 MB, free: 152 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.596/1.596, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3454/0.3454, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.583e-06/1.583e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.521e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3908/0.3908, allocations: 170.8 MB / 0.5353 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007991/0.3988, allocations: 5.401 MB / 0.5405 GB, free: 13.1 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005443/0.3994, allocations: 26.91 kB / 0.5406 GB, free: 13.08 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009257/0.4003, allocations: 304.3 kB / 0.5409 GB, free: 12.92 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003311/0.4036, allocations: 1.332 MB / 0.5422 GB, free: 12.19 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.4061, allocations: 1.001 MB / 0.5431 GB, free: 11.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.4082, allocations: 1.883 MB / 0.545 GB, free: 10.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.4088, allocations: 414 kB / 0.5454 GB, free: 10.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.4113, allocations: 1.353 MB / 0.5467 GB, free: 9.902 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.4123, allocations: 0.6446 MB / 0.5473 GB, free: 9.562 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.4125, allocations: 59.91 kB / 0.5474 GB, free: 9.562 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.4138, allocations: 0.555 MB / 0.5479 GB, free: 9.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.4141, allocations: 289 kB / 0.5482 GB, free: 9.121 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003826/0.4145, allocations: 284.1 kB / 0.5485 GB, free: 8.988 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.4166, allocations: 1.402 MB / 0.5498 GB, free: 8.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4166, allocations: 0 / 0.5498 GB, free: 8.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4166, allocations: 0 / 0.5498 GB, free: 8.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.4166, allocations: 2.625 kB / 0.5498 GB, free: 8.09 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.002396/0.419, allocations: 1.188 MB / 0.551 GB, free: 7.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.419, allocations: 9.312 kB / 0.551 GB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009674/0.42, allocations: 227.3 kB / 0.5512 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009859/0.421, allocations: 491.7 kB / 0.5517 GB, free: 6.707 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.4212, allocations: 164.6 kB / 0.5518 GB, free: 6.547 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.4213, allocations: 56.78 kB / 0.5519 GB, free: 6.527 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.4229, allocations: 1.116 MB / 0.553 GB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.4229, allocations: 2.375 kB / 0.553 GB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.423e-05/0.423, allocations: 32.89 kB / 0.553 GB, free: 5.469 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/0.423, allocations: 40.92 kB / 0.5531 GB, free: 5.457 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/0.4239, allocations: 463.5 kB / 0.5535 GB, free: 5.258 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.005723/0.4297, allocations: 4.135 MB / 0.5575 GB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.4303, allocations: 308 kB / 0.5578 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.4306, allocations: 136.2 kB / 0.558 GB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.4307, allocations: 16.27 kB / 0.558 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.4308, allocations: 41.67 kB / 0.558 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.4308, allocations: 0 / 0.558 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005805/0.4366, allocations: 1.388 MB / 0.5594 GB, free: 15.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.4367, allocations: 136.5 kB / 0.5595 GB, free: 14.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/0.4375, allocations: 0.6585 MB / 0.5602 GB, free: 14.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.4376, allocations: 33.7 kB / 0.5602 GB, free: 14.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.438, allocations: 458.9 kB / 0.5606 GB, free: 13.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.4382, allocations: 162.7 kB / 0.5608 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/0.4385, allocations: 176.2 kB / 0.5609 GB, free: 13.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003624/0.4388, allocations: 0.5781 MB / 0.5615 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.4391, allocations: 145.9 kB / 0.5616 GB, free: 12.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008351/0.44, allocations: 0.681 MB / 0.5623 GB, free: 11.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.4411, allocations: 0.79 MB / 0.5631 GB, free: 10.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.4411, allocations: 4 kB / 0.5631 GB, free: 10.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001567/0.4427, allocations: 0.7854 MB / 0.5639 GB, free: 10.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.4427, allocations: 8 kB / 0.5639 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.4428, allocations: 12 kB / 0.5639 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.4442, allocations: 282.8 kB / 0.5641 GB, free: 9.738 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.4446, allocations: 127.8 kB / 0.5643 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.446, allocations: 1.128 MB / 0.5654 GB, free: 8.453 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/0.4465, allocations: 28.03 kB / 0.5654 GB, free: 8.426 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.4466, allocations: 59.98 kB / 0.5655 GB, free: 8.367 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.0003739/0.447, allocations: 248.3 kB / 0.5657 GB, free: 8.113 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.4472, allocations: 71.62 kB / 0.5658 GB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.4488, allocations: 0.7968 MB / 0.5665 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4489, allocations: 4 kB / 0.5665 GB, free: 7.234 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4489, allocations: 0 / 0.5665 GB, free: 7.234 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4489, allocations: 3.938 kB / 0.5665 GB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.4511, allocations: 1.16 MB / 0.5677 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4511, allocations: 0 / 0.5677 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.4522, allocations: 195.8 kB / 0.5679 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.4523, allocations: 27.67 kB / 0.5679 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.4523, allocations: 16 kB / 0.5679 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/0.4555, allocations: 3.647 MB / 0.5715 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4555, allocations: 0 / 0.5715 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.4569, allocations: 0.7715 MB / 0.5722 GB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.4572, allocations: 95.58 kB / 0.5723 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.395e-05/0.4573, allocations: 15.94 kB / 0.5723 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.4577, allocations: 19.88 kB / 0.5723 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4578, allocations: 43.94 kB / 0.5724 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.935e-05/0.4579, allocations: 31.98 kB / 0.5724 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005497/0.4584, allocations: 406.8 kB / 0.5728 GB, free: 468 kB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4584, allocations: 0 / 0.5728 GB, free: 468 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009811/0.4594, allocations: 255.7 kB / 0.573 GB, free: 212 kB / 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.0008487/0.4602, allocations: 292.7 kB / 0.5733 GB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.4615, allocations: 498.5 kB / 0.5738 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4615, allocations: 0 / 0.5738 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.4626, allocations: 441.8 kB / 0.5742 GB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.4642, allocations: 322.8 kB / 0.5745 GB, free: 14.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.4665, allocations: 1.211 MB / 0.5757 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.467, allocations: 324.3 kB / 0.576 GB, free: 13.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001017/0.468, allocations: 420 kB / 0.5764 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.4683, allocations: 96.45 kB / 0.5765 GB, free: 12.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.452e-06/0.4683, allocations: 4 kB / 0.5765 GB, free: 12.57 MB / 458.7 MB Notification: Performance of Templates: time 0.03043/0.4987, allocations: 15.44 MB / 0.5916 GB, free: 13.37 MB / 474.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.082814196008258]