Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,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.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,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.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 174 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.287/1.287, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0006971/0.0006971, allocations: 86.41 kB / 271.2 MB, free: 8.223 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.3251/0.3251, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003977, allocations: 15.98 kB / 432 MB, free: 5.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.104, allocations: 58.84 MB / 490.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3445/0.4486, allocations: 163.9 MB / 0.6394 GB, free: 2.922 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009068/0.4577, allocations: 7.742 MB / 0.647 GB, free: 11.17 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006997/0.4584, allocations: 27.75 kB / 0.647 GB, free: 11.14 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000878/0.4593, allocations: 250.4 kB / 0.6472 GB, free: 10.9 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.003704/0.463, allocations: 1.32 MB / 0.6485 GB, free: 9.578 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.4658, allocations: 0.9237 MB / 0.6494 GB, free: 8.676 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002544/0.4683, allocations: 2.254 MB / 0.6516 GB, free: 6.418 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008365/0.4692, allocations: 385.2 kB / 0.652 GB, free: 6.043 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.4721, allocations: 1.079 MB / 0.653 GB, free: 4.961 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.4736, allocations: 0.6657 MB / 0.6537 GB, free: 4.293 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.4738, allocations: 35.94 kB / 0.6537 GB, free: 4.258 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.476, allocations: 0.6474 MB / 0.6544 GB, free: 3.609 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005623/0.4766, allocations: 235.2 kB / 0.6546 GB, free: 3.379 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009695/0.4775, allocations: 388.1 kB / 0.655 GB, free: 2.992 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.4793, allocations: 1.013 MB / 0.6559 GB, free: 1.977 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4793, allocations: 0 / 0.6559 GB, free: 1.977 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4793, allocations: 0 / 0.6559 GB, free: 1.977 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.344e-05/0.4793, allocations: 4 kB / 0.656 GB, free: 1.973 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.002283/0.4816, allocations: 0.9855 MB / 0.6569 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.4817, allocations: 8.031 kB / 0.6569 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008195/0.4825, allocations: 131.1 kB / 0.657 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008793/0.4834, allocations: 0.504 MB / 0.6575 GB, free: 260 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.4835, allocations: 100.4 kB / 0.6576 GB, free: 148 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.4836, allocations: 51.98 kB / 0.6577 GB, free: 96 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.4849, allocations: 0.8136 MB / 0.6585 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.485, allocations: 3.938 kB / 0.6585 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/0.4851, allocations: 24 kB / 0.6585 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.048e-05/0.4851, allocations: 39.98 kB / 0.6585 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.4862, allocations: 0.6283 MB / 0.6592 GB, free: 14.51 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.004626/0.4908, allocations: 3.977 MB / 0.663 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.4915, allocations: 355.6 kB / 0.6634 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.4918, allocations: 169.3 kB / 0.6635 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005622/0.4924, allocations: 365.4 kB / 0.6639 GB, free: 9.348 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/0.4925, allocations: 38.84 kB / 0.6639 GB, free: 9.301 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.128e-06/0.4925, allocations: 0 / 0.6639 GB, free: 9.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005611/0.4981, allocations: 1.662 MB / 0.6656 GB, free: 7.566 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.4982, allocations: 132.5 kB / 0.6657 GB, free: 7.406 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007445/0.499, allocations: 0.6132 MB / 0.6663 GB, free: 6.785 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.499, allocations: 33.7 kB / 0.6663 GB, free: 6.746 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.4993, allocations: 370.9 kB / 0.6667 GB, free: 6.379 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.4995, allocations: 138 kB / 0.6668 GB, free: 6.242 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.4995, allocations: 12 kB / 0.6668 GB, free: 6.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4997, allocations: 378.8 kB / 0.6672 GB, free: 5.852 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.5, allocations: 197.9 kB / 0.6674 GB, free: 5.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005587/0.5006, allocations: 0.5086 MB / 0.6679 GB, free: 5.008 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009471/0.5016, allocations: 0.7446 MB / 0.6686 GB, free: 4.125 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.5016, allocations: 0 / 0.6686 GB, free: 4.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001461/0.5031, allocations: 0.8837 MB / 0.6694 GB, free: 3.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.5031, allocations: 12 kB / 0.6695 GB, free: 3.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.5031, allocations: 8 kB / 0.6695 GB, free: 3.211 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.5045, allocations: 320.8 kB / 0.6698 GB, free: 2.895 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.5049, allocations: 123.8 kB / 0.6699 GB, free: 2.773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.506, allocations: 0.9362 MB / 0.6708 GB, free: 1.812 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/0.5066, allocations: 43.91 kB / 0.6708 GB, free: 1.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/0.5067, allocations: 68.06 kB / 0.6709 GB, free: 1.703 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.0003321/0.507, allocations: 247.8 kB / 0.6711 GB, free: 1.453 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5071, allocations: 75.09 kB / 0.6712 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.5086, allocations: 0.6759 MB / 0.6719 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.5086, allocations: 4 kB / 0.6719 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.5086, allocations: 0 / 0.6719 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.5086, allocations: 7.984 kB / 0.6719 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1905/0.6991, allocations: 1.591 MB / 0.6734 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.6991, allocations: 1.766 kB / 0.6734 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.7002, allocations: 213.7 kB / 0.6736 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.7003, allocations: 25.91 kB / 0.6737 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.7004, allocations: 14.8 kB / 0.6737 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.7019, allocations: 2.688 MB / 0.6763 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.702, allocations: 3.312 kB / 0.6763 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.7033, allocations: 0.8024 MB / 0.6771 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.7036, allocations: 196 kB / 0.6773 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.7037, allocations: 12.41 kB / 0.6773 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.704, allocations: 25.45 kB / 0.6773 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.7041, allocations: 35.05 kB / 0.6774 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-05/0.7042, allocations: 42.2 kB / 0.6774 GB, free: 147.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005261/0.7047, allocations: 435.8 kB / 0.6778 GB, free: 147.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7048, allocations: 1.281 kB / 0.6778 GB, free: 147.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009217/0.7057, allocations: 296.5 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.0008671/0.7066, allocations: 363 kB / 0.6784 GB, free: 147.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.7077, allocations: 0.5371 MB / 0.679 GB, free: 147.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7077, allocations: 1.344 kB / 0.679 GB, free: 147.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009245/0.7086, allocations: 404.4 kB / 0.6793 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.001545/0.7102, allocations: 341.4 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.001921/0.7121, allocations: 1.591 MB / 0.6812 GB, free: 146.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.7125, allocations: 0.931 MB / 0.6821 GB, free: 146.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/0.7128, allocations: 115.6 kB / 0.6822 GB, free: 146.2 MB / 490.7 MB Notification: Performance of SimCode: time 4.6e-07/0.7128, allocations: 0 / 0.6822 GB, free: 146.2 MB / 490.7 MB Notification: Performance of Templates: time 0.01924/0.7321, allocations: 16.81 MB / 0.6987 GB, free: 144.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches