Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009222/0.0009221, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007587/0.0007587, allocations: 96.91 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3054/0.3054, allocations: 43.55 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003375, allocations: 15.98 kB / 432 MB, free: 5.574 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1004, allocations: 58.84 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3362/0.4366, allocations: 163.9 MB / 0.6394 GB, free: 2.758 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00993/0.4466, allocations: 7.751 MB / 0.647 GB, free: 11 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000945/0.4476, allocations: 27.75 kB / 0.647 GB, free: 10.97 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008733/0.4485, allocations: 262.4 kB / 0.6472 GB, free: 10.71 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003711/0.4522, allocations: 1.315 MB / 0.6485 GB, free: 9.402 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.4547, allocations: 0.9173 MB / 0.6494 GB, free: 8.5 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.457, allocations: 2.251 MB / 0.6516 GB, free: 6.246 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005507/0.4576, allocations: 401 kB / 0.652 GB, free: 5.855 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.4599, allocations: 1.068 MB / 0.653 GB, free: 4.785 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008644/0.4608, allocations: 0.6579 MB / 0.6537 GB, free: 4.125 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-05/0.4609, allocations: 32 kB / 0.6537 GB, free: 4.094 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.4624, allocations: 0.6551 MB / 0.6544 GB, free: 3.438 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.4626, allocations: 235.3 kB / 0.6546 GB, free: 3.207 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.463, allocations: 384.1 kB / 0.655 GB, free: 2.824 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.4641, allocations: 1.017 MB / 0.6559 GB, free: 1.805 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4641, allocations: 0 / 0.6559 GB, free: 1.805 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4641, allocations: 0 / 0.6559 GB, free: 1.805 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.4641, allocations: 0 / 0.6559 GB, free: 1.805 MB / 474.7 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.001963/0.4661, allocations: 0.9777 MB / 0.6569 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4662, allocations: 12.03 kB / 0.6569 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007155/0.4669, allocations: 131.1 kB / 0.657 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008004/0.4677, allocations: 0.5118 MB / 0.6575 GB, free: 80 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.4678, allocations: 100.4 kB / 0.6576 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-05/0.4679, allocations: 47.98 kB / 0.6577 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.4691, allocations: 0.8124 MB / 0.6585 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.4692, allocations: 11.94 kB / 0.6585 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.4692, allocations: 23.98 kB / 0.6585 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-05/0.4693, allocations: 36.98 kB / 0.6585 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009713/0.4703, allocations: 0.6205 MB / 0.6591 GB, free: 14.34 MB / 490.7 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.00414/0.4744, allocations: 3.982 MB / 0.663 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/0.475, allocations: 359.5 kB / 0.6634 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.4753, allocations: 169.3 kB / 0.6635 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/0.4757, allocations: 361.5 kB / 0.6639 GB, free: 9.184 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.4758, allocations: 35.91 kB / 0.6639 GB, free: 9.141 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.314e-06/0.4758, allocations: 4 kB / 0.6639 GB, free: 9.137 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.004852/0.4806, allocations: 1.677 MB / 0.6656 GB, free: 7.391 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.4807, allocations: 132.5 kB / 0.6657 GB, free: 7.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/0.4813, allocations: 0.6093 MB / 0.6663 GB, free: 6.613 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.4814, allocations: 29.7 kB / 0.6663 GB, free: 6.578 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.4816, allocations: 370.9 kB / 0.6667 GB, free: 6.211 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.4817, allocations: 142 kB / 0.6668 GB, free: 6.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.4818, allocations: 16 kB / 0.6668 GB, free: 6.055 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4819, allocations: 374.8 kB / 0.6672 GB, free: 5.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.4823, allocations: 201.9 kB / 0.6674 GB, free: 5.484 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.4828, allocations: 0.5085 MB / 0.6679 GB, free: 4.832 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008766/0.4837, allocations: 0.7369 MB / 0.6686 GB, free: 3.957 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4837, allocations: 4 kB / 0.6686 GB, free: 3.953 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001308/0.485, allocations: 0.8754 MB / 0.6694 GB, free: 3.066 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.4851, allocations: 8 kB / 0.6694 GB, free: 3.059 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4851, allocations: 12 kB / 0.6695 GB, free: 3.047 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.4864, allocations: 325.2 kB / 0.6698 GB, free: 2.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.4867, allocations: 123.8 kB / 0.6699 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.4878, allocations: 0.9285 MB / 0.6708 GB, free: 1.652 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.4883, allocations: 47.98 kB / 0.6708 GB, free: 1.605 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/0.4884, allocations: 63.98 kB / 0.6709 GB, free: 1.543 MB / 490.7 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.0003026/0.4887, allocations: 249.6 kB / 0.6711 GB, free: 1.289 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.4888, allocations: 71.09 kB / 0.6712 GB, free: 1.219 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.4902, allocations: 0.6824 MB / 0.6719 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.4902, allocations: 7.984 kB / 0.6719 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4902, allocations: 0 / 0.6719 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4902, allocations: 0 / 0.6719 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1912/0.6814, allocations: 1.599 MB / 0.6734 GB, free: 150.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.6815, allocations: 1.906 kB / 0.6734 GB, free: 150.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.6825, allocations: 209.1 kB / 0.6736 GB, free: 150.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.414e-05/0.6826, allocations: 24.5 kB / 0.6737 GB, free: 150.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.6827, allocations: 18.69 kB / 0.6737 GB, free: 150.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.6841, allocations: 2.689 MB / 0.6763 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.6841, allocations: 4.688 kB / 0.6763 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.6854, allocations: 0.8044 MB / 0.6771 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.6857, allocations: 190.8 kB / 0.6773 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/0.6858, allocations: 11.16 kB / 0.6773 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.6862, allocations: 29.72 kB / 0.6773 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/0.6863, allocations: 39.31 kB / 0.6774 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.6864, allocations: 42.08 kB / 0.6774 GB, free: 147.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005366/0.687, allocations: 433.9 kB / 0.6778 GB, free: 147.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.687, allocations: 3.375 kB / 0.6778 GB, free: 147.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001002/0.688, allocations: 295.9 kB / 0.6781 GB, free: 147.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0008539/0.6888, allocations: 358 kB / 0.6784 GB, free: 147.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.6899, allocations: 0.5343 MB / 0.679 GB, free: 147.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6899, allocations: 4.812 kB / 0.679 GB, free: 147.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008963/0.6908, allocations: 405.6 kB / 0.6794 GB, free: 147.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.6924, allocations: 339 kB / 0.6797 GB, free: 147.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.6944, allocations: 1.587 MB / 0.6812 GB, free: 146.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.6947, allocations: 0.9291 MB / 0.6821 GB, free: 146.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.6951, allocations: 114.7 kB / 0.6822 GB, free: 146.2 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6951, allocations: 5.312 kB / 0.6822 GB, free: 146.2 MB / 490.7 MB Notification: Performance of Templates: time 0.0193/0.7144, allocations: 16.8 MB / 0.6987 GB, free: 144.8 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches