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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008854/0.0008854, allocations: 93.88 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007967/0.0007967, allocations: 171.8 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2017/0.2017, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 10.97 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4812/0.6395, allocations: 170.3 MB / 0.6275 GB, free: 8.367 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009727/0.6493, allocations: 5.41 MB / 0.6328 GB, free: 2.945 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.6507, allocations: 27.75 kB / 0.6328 GB, free: 2.918 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.652, allocations: 274.5 kB / 0.6331 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.6565, allocations: 1.118 MB / 0.6342 GB, free: 1.527 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.6595, allocations: 0.8677 MB / 0.635 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00421/0.6638, allocations: 2.714 MB / 0.6377 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.6652, allocations: 397.4 kB / 0.638 GB, free: 13.56 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003601/0.6688, allocations: 0.9496 MB / 0.639 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.6707, allocations: 0.6812 MB / 0.6396 GB, free: 11.92 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002769/0.671, allocations: 32 kB / 0.6397 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.6729, allocations: 0.5343 MB / 0.6402 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004445/0.6733, allocations: 239.2 kB / 0.6404 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007603/0.6741, allocations: 399.9 kB / 0.6408 GB, free: 10.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.6765, allocations: 1.254 MB / 0.642 GB, free: 9.465 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.6765, allocations: 4 kB / 0.642 GB, free: 9.461 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6765, allocations: 0 / 0.642 GB, free: 9.461 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.6766, allocations: 0 / 0.642 GB, free: 9.461 MB / 478.1 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.002657/0.6792, allocations: 0.951 MB / 0.6429 GB, free: 8.457 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.583e-05/0.6793, allocations: 11.97 kB / 0.643 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008414/0.6802, allocations: 135.1 kB / 0.6431 GB, free: 8.312 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.6812, allocations: 0.5118 MB / 0.6436 GB, free: 7.762 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.6814, allocations: 100.4 kB / 0.6437 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.6815, allocations: 47.98 kB / 0.6437 GB, free: 7.602 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.6829, allocations: 0.8136 MB / 0.6445 GB, free: 6.715 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.6829, allocations: 4 kB / 0.6445 GB, free: 6.711 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.683, allocations: 16 kB / 0.6445 GB, free: 6.695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.224e-05/0.6831, allocations: 52.86 kB / 0.6446 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.6842, allocations: 0.6243 MB / 0.6452 GB, free: 6.02 MB / 478.1 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.004792/0.689, allocations: 3.962 MB / 0.6491 GB, free: 1.801 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006137/0.6896, allocations: 357.9 kB / 0.6494 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.6899, allocations: 169.3 kB / 0.6496 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.6901, allocations: 97.36 kB / 0.6497 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.6901, allocations: 45.28 kB / 0.6497 GB, free: 1.113 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.254e-06/0.6901, allocations: 0 / 0.6497 GB, free: 1.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005923/0.696, allocations: 1.665 MB / 0.6513 GB, free: 15.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/0.6961, allocations: 136.5 kB / 0.6515 GB, free: 15.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007897/0.6969, allocations: 0.621 MB / 0.6521 GB, free: 14.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.697, allocations: 33.7 kB / 0.6521 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.6973, allocations: 366.9 kB / 0.6525 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.6974, allocations: 138 kB / 0.6526 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.051e-05/0.6975, allocations: 65.69 kB / 0.6526 GB, free: 13.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.6977, allocations: 374.8 kB / 0.653 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.6981, allocations: 205.9 kB / 0.6532 GB, free: 13.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/0.6987, allocations: 0.5125 MB / 0.6537 GB, free: 12.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/0.6997, allocations: 0.7523 MB / 0.6544 GB, free: 11.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.6998, allocations: 4 kB / 0.6544 GB, free: 11.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001535/0.7013, allocations: 0.8876 MB / 0.6553 GB, free: 10.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.7013, allocations: 12 kB / 0.6553 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.7014, allocations: 8 kB / 0.6553 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.7029, allocations: 313 kB / 0.6556 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.7033, allocations: 127.8 kB / 0.6557 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.7044, allocations: 0.9332 MB / 0.6567 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.7049, allocations: 47.95 kB / 0.6567 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.7051, allocations: 63.98 kB / 0.6568 GB, free: 9.422 MB / 494.1 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.0003643/0.7054, allocations: 257.9 kB / 0.657 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.7055, allocations: 67.23 kB / 0.6571 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.7073, allocations: 0.858 MB / 0.6579 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.7074, allocations: 11.98 kB / 0.6579 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7074, allocations: 0 / 0.6579 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.7074, allocations: 4 kB / 0.6579 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.7095, allocations: 1.461 MB / 0.6594 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.7095, allocations: 0 / 0.6594 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.7106, allocations: 215.9 kB / 0.6596 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-05/0.7107, allocations: 24.84 kB / 0.6596 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.7107, allocations: 19.98 kB / 0.6596 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.713, allocations: 2.688 MB / 0.6622 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.713, allocations: 0 / 0.6622 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.7143, allocations: 0.8129 MB / 0.663 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.7146, allocations: 196.2 kB / 0.6632 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.895e-05/0.7147, allocations: 11.94 kB / 0.6632 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.7151, allocations: 31.98 kB / 0.6632 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.7153, allocations: 43.89 kB / 0.6633 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-05/0.7153, allocations: 43.98 kB / 0.6633 GB, free: 2.207 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000582/0.7159, allocations: 439 kB / 0.6638 GB, free: 1.781 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7159, allocations: 0 / 0.6638 GB, free: 1.781 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001097/0.7171, allocations: 260 kB / 0.664 GB, free: 1.527 MB / 494.1 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 (39): * Single equations (assignments): 37 * 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.0009131/0.718, allocations: 288.3 kB / 0.6643 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.7193, allocations: 0.5515 MB / 0.6648 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7193, allocations: 0 / 0.6648 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.7204, allocations: 415 kB / 0.6652 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.7223, allocations: 354.8 kB / 0.6655 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.7247, allocations: 1.651 MB / 0.6672 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.7253, allocations: 0.9261 MB / 0.6681 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001234/0.7265, allocations: 466.4 kB / 0.6685 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/0.7269, allocations: 119.4 kB / 0.6686 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.7269, allocations: 3.938 kB / 0.6686 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.03237/0.7593, allocations: 16.72 MB / 0.685 GB, free: 12.14 MB / 0.5138 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches