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.001433/0.001433, allocations: 180.4 kB / 16.41 MB, free: 5.703 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.372/1.372, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007785/0.0007785, allocations: 86.42 kB / 270.9 MB, free: 8.363 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.4817/0.4817, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004157, allocations: 12 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1416, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4822/0.6238, allocations: 163.9 MB / 0.6388 GB, free: 3.352 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.6369, allocations: 7.726 MB / 0.6463 GB, free: 11.62 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.6386, allocations: 23.75 kB / 0.6463 GB, free: 11.59 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.6401, allocations: 262.4 kB / 0.6466 GB, free: 11.34 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.00551/0.6456, allocations: 1.268 MB / 0.6478 GB, free: 10.07 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.6493, allocations: 0.897 MB / 0.6487 GB, free: 9.188 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003593/0.653, allocations: 2.238 MB / 0.6509 GB, free: 6.945 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.654, allocations: 394 kB / 0.6513 GB, free: 6.562 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.6578, allocations: 1.042 MB / 0.6523 GB, free: 5.52 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.6595, allocations: 0.6541 MB / 0.6529 GB, free: 4.863 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.6598, allocations: 32 kB / 0.653 GB, free: 4.832 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.6623, allocations: 0.6006 MB / 0.6535 GB, free: 4.23 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004611/0.6627, allocations: 231.3 kB / 0.6538 GB, free: 4.004 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.6632, allocations: 169.3 kB / 0.6539 GB, free: 3.832 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.6654, allocations: 0.9976 MB / 0.6549 GB, free: 2.832 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.6654, allocations: 0 / 0.6549 GB, free: 2.832 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.6654, allocations: 3.938 kB / 0.6549 GB, free: 2.828 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.309e-05/0.6655, allocations: 0 / 0.6549 GB, free: 2.828 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.003282/0.6688, allocations: 0.9855 MB / 0.6559 GB, free: 1.793 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.6688, allocations: 20.02 kB / 0.6559 GB, free: 1.773 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.67, allocations: 127.1 kB / 0.656 GB, free: 1.648 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.6713, allocations: 492.6 kB / 0.6565 GB, free: 1.125 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.6715, allocations: 108.4 kB / 0.6566 GB, free: 1.008 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.6716, allocations: 47.95 kB / 0.6566 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.6733, allocations: 0.8159 MB / 0.6574 GB, free: 72 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.6733, allocations: 4 kB / 0.6574 GB, free: 68 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.6735, allocations: 23.98 kB / 0.6574 GB, free: 44 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.857e-05/0.6735, allocations: 40.92 kB / 0.6575 GB, free: 4 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.6748, allocations: 0.6245 MB / 0.6581 GB, free: 15.38 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.005496/0.6803, allocations: 3.985 MB / 0.662 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.6809, allocations: 343.6 kB / 0.6623 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.6813, allocations: 173.3 kB / 0.6625 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005815/0.6818, allocations: 365.5 kB / 0.6628 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/0.6819, allocations: 38.8 kB / 0.6629 GB, free: 10.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.268e-06/0.6819, allocations: 4 kB / 0.6629 GB, free: 10.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.006417/0.6884, allocations: 1.67 MB / 0.6645 GB, free: 8.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.6886, allocations: 136.5 kB / 0.6646 GB, free: 8.266 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.6897, allocations: 0.6055 MB / 0.6652 GB, free: 7.652 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.251e-05/0.6898, allocations: 29.7 kB / 0.6652 GB, free: 7.617 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000369/0.6902, allocations: 362.9 kB / 0.6656 GB, free: 7.258 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.6904, allocations: 146 kB / 0.6657 GB, free: 7.113 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.6904, allocations: 16 kB / 0.6657 GB, free: 7.098 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.6907, allocations: 374.8 kB / 0.6661 GB, free: 6.723 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.6911, allocations: 201.9 kB / 0.6663 GB, free: 6.527 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/0.6917, allocations: 0.5085 MB / 0.6668 GB, free: 5.875 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.6923, allocations: 295.7 kB / 0.6671 GB, free: 5.586 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/0.6923, allocations: 4 kB / 0.6671 GB, free: 5.582 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001624/0.6939, allocations: 0.8761 MB / 0.6679 GB, free: 4.695 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.694, allocations: 9.562 kB / 0.6679 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.694, allocations: 8 kB / 0.668 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.6955, allocations: 320.6 kB / 0.6683 GB, free: 4.367 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.6959, allocations: 123.8 kB / 0.6684 GB, free: 4.246 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.6971, allocations: 0.9401 MB / 0.6693 GB, free: 3.281 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/0.6978, allocations: 47.98 kB / 0.6693 GB, free: 3.234 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.6979, allocations: 67.97 kB / 0.6694 GB, free: 3.168 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.0003943/0.6983, allocations: 245.5 kB / 0.6696 GB, free: 2.918 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.6985, allocations: 67.16 kB / 0.6697 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.7, allocations: 0.6894 MB / 0.6704 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.7, allocations: 11.97 kB / 0.6704 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.7, allocations: 0 / 0.6704 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.7, allocations: 0 / 0.6704 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.7026, allocations: 1.598 MB / 0.672 GB, free: 400 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.7026, allocations: 4 kB / 0.672 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.7036, allocations: 207.9 kB / 0.6722 GB, free: 188 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.7038, allocations: 28.83 kB / 0.6722 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.7038, allocations: 19.95 kB / 0.6722 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3117/1.016, allocations: 2.679 MB / 0.6748 GB, free: 148.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.016, allocations: 1.344 kB / 0.6748 GB, free: 148.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/1.017, allocations: 0.7964 MB / 0.6756 GB, free: 148.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/1.018, allocations: 198.5 kB / 0.6758 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.018, allocations: 14.83 kB / 0.6758 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/1.018, allocations: 24.94 kB / 0.6758 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.018, allocations: 34.05 kB / 0.6759 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.97e-05/1.018, allocations: 43.28 kB / 0.6759 GB, free: 148.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007672/1.019, allocations: 428.8 kB / 0.6763 GB, free: 148.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.019, allocations: 0 / 0.6763 GB, free: 148.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001239/1.021, allocations: 300.8 kB / 0.6766 GB, free: 148.4 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.0009807/1.021, allocations: 360.6 kB / 0.6769 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/1.023, allocations: 0.5372 MB / 0.6775 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.023, allocations: 0 / 0.6775 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/1.024, allocations: 408.8 kB / 0.6778 GB, free: 148.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/1.026, allocations: 345.1 kB / 0.6782 GB, free: 148.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/1.028, allocations: 1.588 MB / 0.6797 GB, free: 147.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/1.029, allocations: 0.9291 MB / 0.6806 GB, free: 146.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/1.029, allocations: 112.8 kB / 0.6807 GB, free: 146.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.543e-06/1.029, allocations: 3.375 kB / 0.6807 GB, free: 146.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02602/1.055, allocations: 16.82 MB / 0.6972 GB, free: 145.4 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