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.001475/0.001475, allocations: 112.7 kB / 18.45 MB, free: 4.621 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.00175/0.00175, allocations: 185.2 kB / 19.38 MB, free: 3.699 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.364/1.364, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2082/0.2082, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4152, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2145/0.6297, allocations: 174.4 MB / 0.6899 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007714/0.6375, allocations: 5.33 MB / 0.6951 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008762/0.6384, allocations: 23.81 kB / 0.6951 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.6395, allocations: 318 kB / 0.6954 GB, free: 7.379 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003758/0.6433, allocations: 1.242 MB / 0.6966 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.646, allocations: 0.9695 MB / 0.6975 GB, free: 5.176 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002449/0.6484, allocations: 1.848 MB / 0.6994 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009185/0.6494, allocations: 461.3 kB / 0.6998 GB, free: 2.867 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002682/0.6521, allocations: 1.074 MB / 0.7008 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.6534, allocations: 0.654 MB / 0.7015 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.6536, allocations: 64 kB / 0.7015 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.6553, allocations: 0.6227 MB / 0.7022 GB, free: 460 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003906/0.6557, allocations: 263.2 kB / 0.7024 GB, free: 196 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006993/0.6564, allocations: 402.2 kB / 0.7028 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002449/0.6589, allocations: 1.297 MB / 0.7041 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6589, allocations: 4 kB / 0.7041 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6589, allocations: 4 kB / 0.7041 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.469e-05/0.6589, allocations: 0 / 0.7041 GB, free: 14.49 MB / 0.5606 GB 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.003129/0.6621, allocations: 1.102 MB / 0.7051 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.6621, allocations: 8.031 kB / 0.7051 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008572/0.663, allocations: 127.1 kB / 0.7053 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/0.6639, allocations: 0.5352 MB / 0.7058 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.664, allocations: 108.4 kB / 0.7059 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.495e-05/0.6641, allocations: 48 kB / 0.7059 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.6654, allocations: 0.8136 MB / 0.7067 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.6655, allocations: 3.938 kB / 0.7067 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.6656, allocations: 24 kB / 0.7068 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/0.6656, allocations: 44.92 kB / 0.7068 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.6667, allocations: 0.6166 MB / 0.7074 GB, free: 10.88 MB / 0.5606 GB 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.004652/0.6714, allocations: 3.965 MB / 0.7113 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/0.672, allocations: 363.5 kB / 0.7116 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.6723, allocations: 169.3 kB / 0.7118 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.6724, allocations: 89.38 kB / 0.7119 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.6724, allocations: 42.84 kB / 0.7119 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.6724, allocations: 0 / 0.7119 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005686/0.6781, allocations: 1.66 MB / 0.7135 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.6782, allocations: 136.5 kB / 0.7137 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/0.679, allocations: 0.6133 MB / 0.7143 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.6791, allocations: 33.7 kB / 0.7143 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.6794, allocations: 370.8 kB / 0.7146 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.6795, allocations: 142 kB / 0.7148 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.6797, allocations: 158.5 kB / 0.7149 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.6799, allocations: 374.8 kB / 0.7153 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.6803, allocations: 201.9 kB / 0.7155 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/0.6809, allocations: 0.5164 MB / 0.716 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000992/0.6819, allocations: 0.7474 MB / 0.7167 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.6819, allocations: 4 kB / 0.7167 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.3284/1.01, allocations: 0.8826 MB / 0.7176 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/1.01, allocations: 9.156 kB / 0.7176 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/1.01, allocations: 10.47 kB / 0.7176 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/1.012, allocations: 321.6 kB / 0.7179 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/1.013, allocations: 121.4 kB / 0.718 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/1.014, allocations: 0.928 MB / 0.7189 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006013/1.014, allocations: 28.28 kB / 0.719 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/1.015, allocations: 69.73 kB / 0.719 GB, free: 189.2 MB / 0.5606 GB 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.0004017/1.015, allocations: 245.2 kB / 0.7193 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/1.015, allocations: 69.72 kB / 0.7193 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/1.017, allocations: 0.8588 MB / 0.7202 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.017, allocations: 7.094 kB / 0.7202 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.017, allocations: 2.031 kB / 0.7202 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/1.017, allocations: 1.969 kB / 0.7202 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/1.019, allocations: 1.457 MB / 0.7216 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.019, allocations: 2.219 kB / 0.7216 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.02, allocations: 214.9 kB / 0.7218 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.203e-05/1.02, allocations: 24.8 kB / 0.7218 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/1.02, allocations: 22.34 kB / 0.7218 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/1.022, allocations: 2.876 MB / 0.7247 GB, free: 185 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.022, allocations: 6.625 kB / 0.7247 GB, free: 185 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/1.023, allocations: 0.8291 MB / 0.7255 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/1.023, allocations: 193.4 kB / 0.7257 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.023, allocations: 12.48 kB / 0.7257 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/1.024, allocations: 19.92 kB / 0.7257 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.024, allocations: 36.78 kB / 0.7257 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-05/1.024, allocations: 43.73 kB / 0.7258 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006125/1.025, allocations: 438.6 kB / 0.7262 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.01e-07/1.025, allocations: 0.6875 kB / 0.7262 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009922/1.026, allocations: 255.8 kB / 0.7264 GB, free: 184.2 MB / 0.5606 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.0008489/1.027, allocations: 299.5 kB / 0.7267 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001217/1.028, allocations: 0.5575 MB / 0.7273 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.028, allocations: 3.719 kB / 0.7273 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009506/1.029, allocations: 420.3 kB / 0.7277 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.03, allocations: 358.8 kB / 0.728 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/1.033, allocations: 1.368 MB / 0.7293 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/1.033, allocations: 0.9298 MB / 0.7302 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/1.034, allocations: 128.7 kB / 0.7304 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/1.034, allocations: 0 / 0.7304 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02767/1.061, allocations: 16.56 MB / 0.7465 GB, free: 171.3 MB / 0.5606 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