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.001514/0.001514, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001849/0.001849, allocations: 194 kB / 18.77 MB, free: 4.742 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.375/1.375, allocations: 222.9 MB / 242.4 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2029/0.2029, allocations: 44.17 MB / 336.8 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 68.39 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1192, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4065/0.5258, allocations: 172.6 MB / 0.6267 GB, free: 4.598 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007666/0.5335, allocations: 5.49 MB / 0.6321 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008806/0.5345, allocations: 27.75 kB / 0.6321 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009487/0.5355, allocations: 270.5 kB / 0.6324 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.5386, allocations: 1.117 MB / 0.6334 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.5409, allocations: 0.86 MB / 0.6343 GB, free: 12.83 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003208/0.5442, allocations: 2.714 MB / 0.6369 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009192/0.5451, allocations: 399.8 kB / 0.6373 GB, free: 9.719 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.5476, allocations: 0.9574 MB / 0.6383 GB, free: 8.758 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.549, allocations: 0.689 MB / 0.6389 GB, free: 8.066 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.5492, allocations: 32 kB / 0.639 GB, free: 8.035 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.5507, allocations: 0.5344 MB / 0.6395 GB, free: 7.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.5511, allocations: 239.2 kB / 0.6397 GB, free: 7.266 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006827/0.5518, allocations: 374.2 kB / 0.6401 GB, free: 6.898 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.5532, allocations: 0.9628 MB / 0.641 GB, free: 5.934 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5532, allocations: 0 / 0.641 GB, free: 5.934 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.5533, allocations: 4 kB / 0.641 GB, free: 5.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.512e-05/0.5533, allocations: 0 / 0.641 GB, free: 5.93 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.002765/0.5561, allocations: 1.103 MB / 0.6421 GB, free: 4.773 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5561, allocations: 11.97 kB / 0.6421 GB, free: 4.762 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009447/0.5571, allocations: 142.9 kB / 0.6422 GB, free: 4.621 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009521/0.558, allocations: 0.5041 MB / 0.6427 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.5582, allocations: 100.4 kB / 0.6428 GB, free: 3.965 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.5583, allocations: 55.89 kB / 0.6429 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.5597, allocations: 0.8136 MB / 0.6437 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.5597, allocations: 4 kB / 0.6437 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/0.5598, allocations: 23.98 kB / 0.6437 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/0.5599, allocations: 44.92 kB / 0.6437 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.5611, allocations: 0.6243 MB / 0.6443 GB, free: 2.328 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.004874/0.566, allocations: 3.958 MB / 0.6482 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.5666, allocations: 355.6 kB / 0.6485 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.5669, allocations: 165.3 kB / 0.6487 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.5671, allocations: 93.38 kB / 0.6488 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.5671, allocations: 38.84 kB / 0.6488 GB, free: 13.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.695e-06/0.5672, allocations: 4 kB / 0.6488 GB, free: 13.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006026/0.5732, allocations: 1.667 MB / 0.6505 GB, free: 11.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.5733, allocations: 136.5 kB / 0.6506 GB, free: 11.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007748/0.5741, allocations: 0.6171 MB / 0.6512 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/0.5741, allocations: 37.64 kB / 0.6512 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.5744, allocations: 366.9 kB / 0.6516 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.5745, allocations: 138 kB / 0.6517 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.5748, allocations: 162.5 kB / 0.6519 GB, free: 10.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5749, allocations: 374.8 kB / 0.6522 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.5753, allocations: 205.9 kB / 0.6524 GB, free: 9.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.5759, allocations: 0.5086 MB / 0.6529 GB, free: 8.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009746/0.5769, allocations: 0.7602 MB / 0.6537 GB, free: 8.062 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5769, allocations: 0 / 0.6537 GB, free: 8.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001551/0.5785, allocations: 0.8876 MB / 0.6545 GB, free: 7.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5785, allocations: 8 kB / 0.6545 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.5785, allocations: 8 kB / 0.6545 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.58, allocations: 309 kB / 0.6548 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.5804, allocations: 119.8 kB / 0.655 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.5816, allocations: 0.9371 MB / 0.6559 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.5822, allocations: 43.95 kB / 0.6559 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.262e-05/0.5823, allocations: 71.92 kB / 0.656 GB, free: 5.652 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.0003804/0.5827, allocations: 250 kB / 0.6562 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.5829, allocations: 71.19 kB / 0.6563 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.5846, allocations: 0.8681 MB / 0.6571 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.5847, allocations: 4 kB / 0.6571 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5847, allocations: 0 / 0.6571 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5847, allocations: 3.984 kB / 0.6571 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.5868, allocations: 1.459 MB / 0.6586 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.5868, allocations: 4 kB / 0.6586 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.5879, allocations: 208 kB / 0.6588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.854e-05/0.5881, allocations: 28.83 kB / 0.6588 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.5881, allocations: 19.94 kB / 0.6588 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.5901, allocations: 2.684 MB / 0.6614 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5901, allocations: 4.031 kB / 0.6614 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.5914, allocations: 0.8129 MB / 0.6622 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.5917, allocations: 184.2 kB / 0.6624 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.5919, allocations: 19.92 kB / 0.6624 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.5923, allocations: 35.92 kB / 0.6625 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.5925, allocations: 39.89 kB / 0.6625 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/0.5925, allocations: 43.98 kB / 0.6625 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005787/0.5931, allocations: 443 kB / 0.663 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5931, allocations: 0 / 0.663 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009266/0.5941, allocations: 252 kB / 0.6632 GB, free: 13.78 MB / 0.4981 GB 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.0008242/0.5949, allocations: 291.1 kB / 0.6635 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.5961, allocations: 0.5518 MB / 0.664 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5961, allocations: 0 / 0.664 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009976/0.5971, allocations: 406.4 kB / 0.6644 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.5988, allocations: 360.7 kB / 0.6648 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.6012, allocations: 1.602 MB / 0.6663 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.6017, allocations: 0.93 MB / 0.6672 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/0.6022, allocations: 127.4 kB / 0.6673 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.6022, allocations: 0 / 0.6673 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of Templates: time 0.02273/0.6249, allocations: 16.46 MB / 0.6834 GB, free: 9.062 MB / 0.5137 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/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