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.001234/0.001234, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.001162/0.001162, allocations: 180.9 kB / 18.71 MB, free: 4.352 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.252/1.252, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1949/0.1949, allocations: 44.19 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 59.91 kB / 470.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3512, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.1834/0.5346, allocations: 174.4 MB / 0.6892 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008344/0.543, allocations: 5.341 MB / 0.6944 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005903/0.5436, allocations: 19.88 kB / 0.6944 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.5446, allocations: 314 kB / 0.6947 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.5479, allocations: 1.256 MB / 0.6959 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.5503, allocations: 0.954 MB / 0.6969 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001866/0.5522, allocations: 1.844 MB / 0.6987 GB, free: 3.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006181/0.5528, allocations: 457.3 kB / 0.6991 GB, free: 2.887 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.5548, allocations: 1.074 MB / 0.7002 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008769/0.5557, allocations: 0.6462 MB / 0.7008 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.5559, allocations: 67.94 kB / 0.7009 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.5572, allocations: 0.6278 MB / 0.7015 GB, free: 480 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002454/0.5574, allocations: 263.3 kB / 0.7017 GB, free: 216 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.5578, allocations: 398.2 kB / 0.7021 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.5595, allocations: 1.304 MB / 0.7034 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5595, allocations: 0 / 0.7034 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.765e-06/0.5595, allocations: 4 kB / 0.7034 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.5595, allocations: 0 / 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.00211/0.5616, allocations: 1.121 MB / 0.7045 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5617, allocations: 12.02 kB / 0.7045 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/0.5625, allocations: 135.5 kB / 0.7046 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/0.5632, allocations: 0.5512 MB / 0.7052 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.5633, allocations: 100.4 kB / 0.7053 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.591e-05/0.5634, allocations: 51.98 kB / 0.7053 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.5646, allocations: 0.8097 MB / 0.7061 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.5646, allocations: 7.922 kB / 0.7061 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.914e-05/0.5647, allocations: 24 kB / 0.7061 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/0.5648, allocations: 40.91 kB / 0.7062 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009882/0.5658, allocations: 0.6166 MB / 0.7068 GB, free: 10.86 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.004069/0.5698, allocations: 3.966 MB / 0.7106 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.5704, allocations: 359.6 kB / 0.711 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.5707, allocations: 173.3 kB / 0.7111 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.5708, allocations: 89.38 kB / 0.7112 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.5708, allocations: 38.84 kB / 0.7113 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.5708, allocations: 0 / 0.7113 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005105/0.5759, allocations: 1.677 MB / 0.7129 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.576, allocations: 136.5 kB / 0.713 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006226/0.5766, allocations: 0.6211 MB / 0.7136 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.5767, allocations: 29.7 kB / 0.7137 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.5769, allocations: 367.9 kB / 0.714 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.5771, allocations: 154.7 kB / 0.7142 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.5773, allocations: 154.6 kB / 0.7143 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5775, allocations: 382.8 kB / 0.7147 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.5778, allocations: 197.9 kB / 0.7149 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.5783, allocations: 0.5124 MB / 0.7154 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000892/0.5792, allocations: 0.7553 MB / 0.7161 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5792, allocations: 7.938 kB / 0.7161 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.28/0.8592, allocations: 0.8805 MB / 0.717 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.8593, allocations: 9.125 kB / 0.717 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.8593, allocations: 14 kB / 0.717 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.8608, allocations: 308.2 kB / 0.7173 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.8613, allocations: 126.1 kB / 0.7174 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.8623, allocations: 0.9345 MB / 0.7183 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005077/0.8628, allocations: 31.97 kB / 0.7184 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-05/0.8629, allocations: 64.41 kB / 0.7184 GB, free: 189.1 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.0003472/0.8633, allocations: 249.7 kB / 0.7187 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.8634, allocations: 71.97 kB / 0.7187 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.8653, allocations: 0.8674 MB / 0.7196 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.8653, allocations: 4.906 kB / 0.7196 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.8653, allocations: 1.938 kB / 0.7196 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.8653, allocations: 5.609 kB / 0.7196 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.8672, allocations: 1.464 MB / 0.721 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.8673, allocations: 1.766 kB / 0.721 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.8683, allocations: 208.5 kB / 0.7212 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.089e-05/0.8684, allocations: 27.05 kB / 0.7212 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.8684, allocations: 18.19 kB / 0.7213 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.8699, allocations: 2.88 MB / 0.7241 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8699, allocations: 2.672 kB / 0.7241 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.871, allocations: 0.8305 MB / 0.7249 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.8712, allocations: 195.9 kB / 0.7251 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.375e-05/0.8713, allocations: 14.7 kB / 0.7251 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.8717, allocations: 15.92 kB / 0.7251 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.8718, allocations: 41.77 kB / 0.7251 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.689e-05/0.8719, allocations: 48.97 kB / 0.7252 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005019/0.8724, allocations: 440.6 kB / 0.7256 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8724, allocations: 1.375 kB / 0.7256 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008689/0.8733, allocations: 254.1 kB / 0.7258 GB, free: 184.1 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.0006924/0.874, allocations: 295.7 kB / 0.7261 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.875, allocations: 0.5487 MB / 0.7267 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.875, allocations: 5.125 kB / 0.7267 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009017/0.8759, allocations: 422.5 kB / 0.7271 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.8774, allocations: 371.5 kB / 0.7274 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.8799, allocations: 1.346 MB / 0.7287 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.8804, allocations: 0.9326 MB / 0.7297 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001097/0.8815, allocations: 466.6 kB / 0.7301 GB, free: 182 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.8819, allocations: 104.5 kB / 0.7302 GB, free: 182 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.8819, allocations: 0.8438 kB / 0.7302 GB, free: 182 MB / 0.5606 GB Notification: Performance of Templates: time 0.02233/0.9042, allocations: 17.57 MB / 0.7474 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