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.001235/0.001235, allocations: 95.58 kB / 16.99 MB, free: 5.941 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.001005/0.001005, allocations: 182 kB / 17.87 MB, free: 5.609 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.386/1.386, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2517/0.2517, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002958, allocations: 8 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1289, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4179/0.5468, allocations: 141.9 MB / 0.599 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007762/0.5546, allocations: 5.518 MB / 0.6044 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008/0.5555, allocations: 27.75 kB / 0.6044 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009512/0.5565, allocations: 274.6 kB / 0.6046 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.5597, allocations: 0.9789 MB / 0.6056 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.5622, allocations: 0.7587 MB / 0.6063 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.5639, allocations: 1.047 MB / 0.6074 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005961/0.5646, allocations: 380.1 kB / 0.6077 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.5661, allocations: 0.7402 MB / 0.6085 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006417/0.5668, allocations: 462.5 kB / 0.6089 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.5669, allocations: 28 kB / 0.6089 GB, free: 9.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.5682, allocations: 495.5 kB / 0.6094 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.5685, allocations: 227.4 kB / 0.6096 GB, free: 9.121 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.5687, allocations: 161.4 kB / 0.6098 GB, free: 8.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.5697, allocations: 0.9182 MB / 0.6107 GB, free: 8.043 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5697, allocations: 0 / 0.6107 GB, free: 8.043 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5697, allocations: 0 / 0.6107 GB, free: 8.043 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.5697, allocations: 0 / 0.6107 GB, free: 8.043 MB / 446.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.002074/0.5718, allocations: 0.951 MB / 0.6116 GB, free: 7.039 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5719, allocations: 8.562 kB / 0.6116 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/0.5727, allocations: 143 kB / 0.6117 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008587/0.5735, allocations: 496.5 kB / 0.6122 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.5737, allocations: 104.4 kB / 0.6123 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.553e-05/0.5738, allocations: 47.98 kB / 0.6124 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.575, allocations: 0.8019 MB / 0.6131 GB, free: 5.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.5751, allocations: 7.922 kB / 0.6131 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.5751, allocations: 27.98 kB / 0.6132 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.5752, allocations: 40.92 kB / 0.6132 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.5762, allocations: 0.6283 MB / 0.6138 GB, free: 4.625 MB / 446.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.004375/0.5806, allocations: 3.946 MB / 0.6177 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.5811, allocations: 351.6 kB / 0.618 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.5813, allocations: 89.38 kB / 0.6181 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5813, allocations: 43.67 kB / 0.6181 GB, free: 15.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 3.526e-06/0.5813, allocations: 0 / 0.6181 GB, free: 15.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005592/0.5869, allocations: 1.672 MB / 0.6198 GB, free: 14.17 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.587, allocations: 136.5 kB / 0.6199 GB, free: 14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/0.5878, allocations: 0.6055 MB / 0.6205 GB, free: 13.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.5878, allocations: 37.7 kB / 0.6205 GB, free: 13.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.5881, allocations: 366.8 kB / 0.6209 GB, free: 12.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.5882, allocations: 142.1 kB / 0.621 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.5883, allocations: 16 kB / 0.621 GB, free: 12.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5884, allocations: 374.8 kB / 0.6214 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.5888, allocations: 197.9 kB / 0.6216 GB, free: 12.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.5893, allocations: 0.5047 MB / 0.6221 GB, free: 11.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.5898, allocations: 296.5 kB / 0.6224 GB, free: 11.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5898, allocations: 4 kB / 0.6224 GB, free: 11.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001438/0.5912, allocations: 0.8879 MB / 0.6232 GB, free: 10.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.5912, allocations: 8 kB / 0.6232 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.5913, allocations: 8 kB / 0.6232 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.5927, allocations: 318.8 kB / 0.6235 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.5931, allocations: 123.7 kB / 0.6237 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.5942, allocations: 0.9322 MB / 0.6246 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.5948, allocations: 44.61 kB / 0.6246 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.5949, allocations: 63.98 kB / 0.6247 GB, free: 8.902 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004094/0.5953, allocations: 245.6 kB / 0.6249 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.5954, allocations: 75.09 kB / 0.625 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.5971, allocations: 0.8772 MB / 0.6258 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.5971, allocations: 4 kB / 0.6258 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.5971, allocations: 3.984 kB / 0.6258 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5971, allocations: 0 / 0.6258 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.5992, allocations: 1.438 MB / 0.6272 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.5992, allocations: 7.984 kB / 0.6273 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.6002, allocations: 208 kB / 0.6275 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.835e-05/0.6003, allocations: 24.84 kB / 0.6275 GB, free: 5.867 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.6004, allocations: 23.92 kB / 0.6275 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.6023, allocations: 2.707 MB / 0.6301 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6023, allocations: 4.031 kB / 0.6301 GB, free: 2.871 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.6035, allocations: 0.874 MB / 0.631 GB, free: 1.922 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.6038, allocations: 196.2 kB / 0.6312 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/0.6039, allocations: 8 kB / 0.6312 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.6044, allocations: 27.98 kB / 0.6312 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.6045, allocations: 39.89 kB / 0.6313 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.6045, allocations: 47.98 kB / 0.6313 GB, free: 1.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005096/0.605, allocations: 427 kB / 0.6317 GB, free: 1.176 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6051, allocations: 4 kB / 0.6317 GB, free: 1.172 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008697/0.6059, allocations: 255.9 kB / 0.632 GB, free: 0.9219 MB / 462.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006569/0.6066, allocations: 284.7 kB / 0.6322 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.6076, allocations: 0.5504 MB / 0.6328 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6076, allocations: 4 kB / 0.6328 GB, free: 92 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009386/0.6086, allocations: 418.7 kB / 0.6332 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.61, allocations: 335.9 kB / 0.6335 GB, free: 15.35 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.612, allocations: 1.576 MB / 0.635 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.6125, allocations: 0.9494 MB / 0.636 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001152/0.6136, allocations: 460.2 kB / 0.6364 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.614, allocations: 111.4 kB / 0.6365 GB, free: 12.2 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.614, allocations: 0 / 0.6365 GB, free: 12.2 MB / 478.1 MB Notification: Performance of Templates: time 0.02576/0.6398, allocations: 16.18 MB / 0.6523 GB, free: 12.16 MB / 494.1 MB 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches