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.001151/0.001151, allocations: 107.7 kB / 17.21 MB, free: 6.289 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.001167/0.001167, allocations: 194 kB / 18.12 MB, free: 5.379 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.354/1.354, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2095/0.2095, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.001389, allocations: 60.22 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4688/0.5847, allocations: 172.6 MB / 0.6261 GB, free: 4.559 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008457/0.5932, allocations: 5.49 MB / 0.6314 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008979/0.5942, allocations: 27.81 kB / 0.6314 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009502/0.5952, allocations: 270.5 kB / 0.6317 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.5986, allocations: 1.115 MB / 0.6328 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.6009, allocations: 0.8652 MB / 0.6336 GB, free: 12.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002877/0.6038, allocations: 2.71 MB / 0.6363 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006076/0.6045, allocations: 412.3 kB / 0.6367 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.6067, allocations: 0.9457 MB / 0.6376 GB, free: 8.719 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.6081, allocations: 0.689 MB / 0.6383 GB, free: 8.027 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.6082, allocations: 32 kB / 0.6383 GB, free: 7.996 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.61, allocations: 0.5343 MB / 0.6388 GB, free: 7.461 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.6103, allocations: 235.3 kB / 0.6391 GB, free: 7.23 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005853/0.6109, allocations: 374.2 kB / 0.6394 GB, free: 6.863 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.6127, allocations: 1.27 MB / 0.6406 GB, free: 5.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6127, allocations: 0 / 0.6406 GB, free: 5.59 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.6127, allocations: 4 kB / 0.6407 GB, free: 5.586 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.6127, allocations: 0 / 0.6407 GB, free: 5.586 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.002329/0.6151, allocations: 1.103 MB / 0.6417 GB, free: 4.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.6151, allocations: 15.97 kB / 0.6417 GB, free: 4.414 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008419/0.616, allocations: 138.9 kB / 0.6419 GB, free: 4.277 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007535/0.6167, allocations: 0.5041 MB / 0.6424 GB, free: 3.734 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.6169, allocations: 104.4 kB / 0.6425 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-05/0.617, allocations: 51.89 kB / 0.6425 GB, free: 3.566 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.6182, allocations: 0.8213 MB / 0.6433 GB, free: 2.672 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.6183, allocations: 0 / 0.6433 GB, free: 2.672 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/0.6184, allocations: 20 kB / 0.6433 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.734e-05/0.6184, allocations: 41.47 kB / 0.6434 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.6195, allocations: 0.6282 MB / 0.644 GB, free: 1.984 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.00451/0.624, allocations: 3.962 MB / 0.6479 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.6246, allocations: 347.6 kB / 0.6482 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.6249, allocations: 173.3 kB / 0.6484 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.625, allocations: 93.38 kB / 0.6484 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.625, allocations: 43.66 kB / 0.6485 GB, free: 13.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/0.625, allocations: 0 / 0.6485 GB, free: 13.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006168/0.6312, allocations: 1.668 MB / 0.6501 GB, free: 11.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.6313, allocations: 140.4 kB / 0.6503 GB, free: 11.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007246/0.632, allocations: 0.6171 MB / 0.6509 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.6321, allocations: 33.7 kB / 0.6509 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.6324, allocations: 362.9 kB / 0.6512 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.6325, allocations: 142 kB / 0.6514 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.6328, allocations: 154.5 kB / 0.6515 GB, free: 9.859 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.633, allocations: 378.8 kB / 0.6519 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.6333, allocations: 201.9 kB / 0.6521 GB, free: 9.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.6339, allocations: 0.5125 MB / 0.6526 GB, free: 8.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009703/0.6349, allocations: 0.7602 MB / 0.6533 GB, free: 7.723 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.6349, allocations: 8 kB / 0.6533 GB, free: 7.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001482/0.6364, allocations: 0.884 MB / 0.6542 GB, free: 6.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6364, allocations: 8 kB / 0.6542 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.6364, allocations: 12 kB / 0.6542 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.6379, allocations: 307.1 kB / 0.6545 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.6383, allocations: 127.8 kB / 0.6546 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.6395, allocations: 0.927 MB / 0.6555 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.64, allocations: 47.88 kB / 0.6556 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/0.6401, allocations: 71.92 kB / 0.6556 GB, free: 5.305 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.0003365/0.6405, allocations: 250 kB / 0.6559 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.6406, allocations: 71.19 kB / 0.6559 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.6423, allocations: 0.8697 MB / 0.6568 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.6423, allocations: 4 kB / 0.6568 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.6423, allocations: 0 / 0.6568 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6423, allocations: 3.984 kB / 0.6568 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.6444, allocations: 1.461 MB / 0.6582 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6444, allocations: 0 / 0.6582 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.6454, allocations: 215.9 kB / 0.6584 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.6456, allocations: 24.84 kB / 0.6585 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.6456, allocations: 19.98 kB / 0.6585 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.6477, allocations: 2.684 MB / 0.6611 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6477, allocations: 0 / 0.6611 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.649, allocations: 0.8168 MB / 0.6619 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.6492, allocations: 192.2 kB / 0.6621 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.813e-05/0.6493, allocations: 15.94 kB / 0.6621 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.6498, allocations: 27.92 kB / 0.6621 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.6499, allocations: 40.02 kB / 0.6622 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/0.65, allocations: 47.92 kB / 0.6622 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005081/0.6505, allocations: 443 kB / 0.6626 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6505, allocations: 0 / 0.6626 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008845/0.6514, allocations: 252 kB / 0.6629 GB, free: 13.42 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.0007769/0.6521, allocations: 286.3 kB / 0.6631 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.6533, allocations: 0.5479 MB / 0.6637 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6534, allocations: 4 kB / 0.6637 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009985/0.6544, allocations: 418.3 kB / 0.6641 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.656, allocations: 352.9 kB / 0.6644 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.6586, allocations: 1.567 MB / 0.6659 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.6593, allocations: 0.9261 MB / 0.6668 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001234/0.6605, allocations: 462.4 kB / 0.6673 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.6609, allocations: 111.3 kB / 0.6674 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.6609, allocations: 4 kB / 0.6674 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of Templates: time 0.0277/0.6886, allocations: 16.82 MB / 0.6838 GB, free: 8.031 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/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