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.0009912/0.0009912, 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.001062/0.001062, allocations: 169.4 kB / 24.99 MB, free: 8.742 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 0.9795/0.9795, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2539/0.2539, allocations: 32.8 MB / 294.6 MB, free: 1.293 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 2.014e-06/2.014e-06, allocations: 0 / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.204e-05, allocations: 2.312 kB / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3594/0.3595, allocations: 170.9 MB / 0.5341 GB, free: 2.793 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01827/0.3777, allocations: 5.401 MB / 0.5394 GB, free: 15.17 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006741/0.3845, allocations: 31.03 kB / 0.5394 GB, free: 15.15 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009426/0.3854, allocations: 311.5 kB / 0.5397 GB, free: 14.98 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009117/0.3945, allocations: 1.315 MB / 0.541 GB, free: 14.27 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008243/0.4028, allocations: 1.007 MB / 0.5419 GB, free: 13.76 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002143/0.4049, allocations: 1.881 MB / 0.5438 GB, free: 12.89 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007045/0.4056, allocations: 413.4 kB / 0.5442 GB, free: 12.64 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.4083, allocations: 1.35 MB / 0.5455 GB, free: 12.06 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.4093, allocations: 0.6458 MB / 0.5461 GB, free: 11.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.4095, allocations: 59.91 kB / 0.5462 GB, free: 11.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.4107, allocations: 0.5538 MB / 0.5467 GB, free: 11.53 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.411, allocations: 288.4 kB / 0.547 GB, free: 11.33 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.4113, allocations: 291 kB / 0.5473 GB, free: 11.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.413, allocations: 1.093 MB / 0.5483 GB, free: 10.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.413, allocations: 0 / 0.5483 GB, free: 10.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.413, allocations: 0 / 0.5483 GB, free: 10.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.4131, allocations: 0 / 0.5483 GB, free: 10.55 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.002087/0.4151, allocations: 1.152 MB / 0.5495 GB, free: 9.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4152, allocations: 8.812 kB / 0.5495 GB, free: 9.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006972/0.4159, allocations: 220.4 kB / 0.5497 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/0.4165, allocations: 483.6 kB / 0.5501 GB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.4167, allocations: 161.5 kB / 0.5503 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/0.4167, allocations: 63.88 kB / 0.5504 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008703/0.4176, allocations: 1.004 MB / 0.5513 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.4176, allocations: 3.938 kB / 0.5513 GB, free: 8.035 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.4177, allocations: 20.12 kB / 0.5514 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/0.4177, allocations: 37.95 kB / 0.5514 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.4182, allocations: 321 kB / 0.5517 GB, free: 7.891 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.003015/0.4212, allocations: 3.868 MB / 0.5555 GB, free: 4.375 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.4216, allocations: 220.1 kB / 0.5557 GB, free: 4.266 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.4218, allocations: 91.36 kB / 0.5558 GB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.954e-05/0.4218, allocations: 14.72 kB / 0.5558 GB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.4219, allocations: 44.59 kB / 0.5558 GB, free: 4.172 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.815e-06/0.4219, allocations: 0 / 0.5558 GB, free: 4.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.003061/0.4249, allocations: 1.162 MB / 0.557 GB, free: 3.473 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.425, allocations: 135.5 kB / 0.5571 GB, free: 3.312 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.4254, allocations: 0.5493 MB / 0.5576 GB, free: 2.758 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.4254, allocations: 29.7 kB / 0.5577 GB, free: 2.723 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/0.4258, allocations: 439 kB / 0.5581 GB, free: 2.285 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/0.4259, allocations: 146.8 kB / 0.5582 GB, free: 2.141 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.426, allocations: 160.2 kB / 0.5584 GB, free: 1.977 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4262, allocations: 0.543 MB / 0.5589 GB, free: 1.422 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.4264, allocations: 101.9 kB / 0.559 GB, free: 1.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.4267, allocations: 0.6113 MB / 0.5596 GB, free: 496 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/0.4273, allocations: 0.6659 MB / 0.5603 GB, free: 15.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4273, allocations: 0 / 0.5603 GB, free: 15.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008198/0.4281, allocations: 0.6565 MB / 0.5609 GB, free: 14.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4282, allocations: 12.78 kB / 0.5609 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4282, allocations: 8 kB / 0.5609 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007111/0.4289, allocations: 251.6 kB / 0.5612 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.4291, allocations: 127.8 kB / 0.5613 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007213/0.4298, allocations: 1.001 MB / 0.5623 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.4301, allocations: 27.98 kB / 0.5623 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.449e-05/0.4302, allocations: 60 kB / 0.5623 GB, free: 13.45 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.0002025/0.4304, allocations: 208.3 kB / 0.5625 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/0.4305, allocations: 76.38 kB / 0.5626 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008889/0.4314, allocations: 0.6895 MB / 0.5633 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4314, allocations: 4 kB / 0.5633 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4314, allocations: 0 / 0.5633 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4314, allocations: 3.984 kB / 0.5633 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.4325, allocations: 0.941 MB / 0.5642 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4325, allocations: 4 kB / 0.5642 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.433, allocations: 195.8 kB / 0.5644 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-05/0.4331, allocations: 27.86 kB / 0.5644 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.4332, allocations: 19.98 kB / 0.5644 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.4347, allocations: 3.561 MB / 0.5679 GB, free: 7.402 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4347, allocations: 0 / 0.5679 GB, free: 7.402 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.4353, allocations: 0.5957 MB / 0.5685 GB, free: 6.758 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.4355, allocations: 95.58 kB / 0.5686 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.4355, allocations: 11.98 kB / 0.5686 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.4357, allocations: 15.94 kB / 0.5686 GB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.4358, allocations: 47.88 kB / 0.5687 GB, free: 6.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.4358, allocations: 40.08 kB / 0.5687 GB, free: 6.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002547/0.4361, allocations: 334.8 kB / 0.569 GB, free: 6.227 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4361, allocations: 0 / 0.569 GB, free: 6.227 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006547/0.4367, allocations: 259.7 kB / 0.5693 GB, free: 5.973 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.0005111/0.4372, allocations: 290.8 kB / 0.5696 GB, free: 5.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006953/0.4379, allocations: 377.8 kB / 0.5699 GB, free: 5.309 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4379, allocations: 4 kB / 0.5699 GB, free: 5.305 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.4384, allocations: 387 kB / 0.5703 GB, free: 4.906 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008179/0.4393, allocations: 314.4 kB / 0.5706 GB, free: 4.625 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.4412, allocations: 1.167 MB / 0.5717 GB, free: 3.402 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.4413, allocations: 166.4 kB / 0.5719 GB, free: 3.219 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006045/0.4419, allocations: 425.9 kB / 0.5723 GB, free: 2.801 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.4421, allocations: 96.47 kB / 0.5724 GB, free: 2.707 MB / 442.7 MB Notification: Performance of SimCode: time 1.243e-06/0.4421, allocations: 0 / 0.5724 GB, free: 2.707 MB / 442.7 MB Notification: Performance of Templates: time 0.0186/0.4607, allocations: 15.44 MB / 0.5875 GB, free: 3.5 MB / 458.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: 3.9089994879905134]