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.001019/0.001024, allocations: 110.4 kB / 17.78 MB, free: 5.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.001049/0.001049, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.27/1.27, allocations: 222.9 MB / 242.4 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.2032/0.2032, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 470.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.35, allocations: 60.82 MB / 0.5189 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.1986/0.5487, allocations: 174.4 MB / 0.6892 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006796/0.5555, allocations: 5.33 MB / 0.6944 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005869/0.5562, allocations: 19.88 kB / 0.6944 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008235/0.5571, allocations: 310 kB / 0.6947 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002778/0.5599, allocations: 1.253 MB / 0.6959 GB, free: 6.164 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.5625, allocations: 0.9695 MB / 0.6969 GB, free: 5.199 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002835/0.5653, allocations: 1.841 MB / 0.6987 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009082/0.5663, allocations: 457.3 kB / 0.6991 GB, free: 2.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.5694, allocations: 1.09 MB / 0.7002 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.571, allocations: 0.6462 MB / 0.7008 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002927/0.5713, allocations: 60 kB / 0.7009 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.5735, allocations: 0.6242 MB / 0.7015 GB, free: 488 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005309/0.574, allocations: 267.2 kB / 0.7017 GB, free: 220 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.5751, allocations: 394.2 kB / 0.7021 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.5782, allocations: 1.297 MB / 0.7034 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.5782, allocations: 11.98 kB / 0.7034 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.867e-06/0.5782, allocations: 0 / 0.7034 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.006e-05/0.5783, allocations: 3.938 kB / 0.7034 GB, free: 14.51 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.003983/0.5822, allocations: 1.094 MB / 0.7045 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.5823, allocations: 8.031 kB / 0.7045 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.5836, allocations: 135.1 kB / 0.7046 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.585, allocations: 0.5353 MB / 0.7051 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.5852, allocations: 100.4 kB / 0.7052 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.5854, allocations: 51.98 kB / 0.7053 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.5871, allocations: 0.8174 MB / 0.7061 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.5871, allocations: 4 kB / 0.7061 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.5872, allocations: 16 kB / 0.7061 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-05/0.5873, allocations: 44.92 kB / 0.7061 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.5888, allocations: 0.6243 MB / 0.7067 GB, free: 10.9 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.004765/0.5936, allocations: 3.961 MB / 0.7106 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005551/0.5942, allocations: 355.5 kB / 0.711 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.5944, allocations: 173.3 kB / 0.7111 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.5946, allocations: 89.39 kB / 0.7112 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.5946, allocations: 38.84 kB / 0.7112 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.455e-06/0.5946, allocations: 3.938 kB / 0.7112 GB, free: 6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.007083/0.6017, allocations: 1.664 MB / 0.7129 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.6018, allocations: 136.5 kB / 0.713 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.603, allocations: 0.6133 MB / 0.7136 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.152e-05/0.6031, allocations: 37.64 kB / 0.7136 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.6035, allocations: 362.8 kB / 0.714 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.6037, allocations: 146 kB / 0.7141 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.604, allocations: 162.5 kB / 0.7143 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.6042, allocations: 378.8 kB / 0.7146 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.6047, allocations: 201.9 kB / 0.7148 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008035/0.6055, allocations: 0.5125 MB / 0.7153 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.6069, allocations: 0.7591 MB / 0.7161 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.6069, allocations: 4 kB / 0.7161 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2753/0.8823, allocations: 0.8677 MB / 0.7169 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.8823, allocations: 9.469 kB / 0.7169 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.8823, allocations: 10.59 kB / 0.7169 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.8837, allocations: 320.2 kB / 0.7172 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.8842, allocations: 117.8 kB / 0.7174 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009209/0.8851, allocations: 0.9294 MB / 0.7183 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.8856, allocations: 28.23 kB / 0.7183 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.879e-05/0.8857, allocations: 65.16 kB / 0.7184 GB, free: 189.3 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.0003318/0.886, allocations: 245.2 kB / 0.7186 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.8862, allocations: 68.84 kB / 0.7187 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.888, allocations: 0.8701 MB / 0.7195 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.888, allocations: 4.656 kB / 0.7195 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.888, allocations: 0 / 0.7195 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.8881, allocations: 3.078 kB / 0.7195 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.8907, allocations: 1.456 MB / 0.7209 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8907, allocations: 5.969 kB / 0.7209 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.8918, allocations: 208.5 kB / 0.7211 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.677e-05/0.8919, allocations: 28.22 kB / 0.7212 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.892, allocations: 19.25 kB / 0.7212 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.8937, allocations: 2.88 MB / 0.724 GB, free: 185 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.8937, allocations: 4.312 kB / 0.724 GB, free: 185 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.8949, allocations: 0.8287 MB / 0.7248 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.8952, allocations: 189.3 kB / 0.725 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.8953, allocations: 16.64 kB / 0.725 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.8957, allocations: 15.67 kB / 0.725 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/0.8958, allocations: 36.02 kB / 0.7251 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.8959, allocations: 44.28 kB / 0.7251 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005203/0.8964, allocations: 443.6 kB / 0.7255 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8964, allocations: 3.938 kB / 0.7255 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008888/0.8973, allocations: 251.4 kB / 0.7258 GB, free: 184.3 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.0007014/0.898, allocations: 295.2 kB / 0.726 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.899, allocations: 0.556 MB / 0.7266 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.899, allocations: 1.531 kB / 0.7266 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.8999, allocations: 422.9 kB / 0.727 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.9013, allocations: 374.8 kB / 0.7273 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.9033, allocations: 1.332 MB / 0.7287 GB, free: 183 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.9037, allocations: 0.9289 MB / 0.7296 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009393/0.9046, allocations: 468.3 kB / 0.73 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.9049, allocations: 108.1 kB / 0.7301 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.9e-07/0.9049, allocations: 0 / 0.7301 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02315/0.9281, allocations: 17.79 MB / 0.7475 GB, free: 169.9 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/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