Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001584/0.001584, allocations: 189 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001215/0.001214, allocations: 90.86 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2916/0.2916, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004437, allocations: 8 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1186, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.539/0.6577, allocations: 125.6 MB / 0.6013 GB, free: 13.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.6595, allocations: 0.8221 MB / 0.6021 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.6597, allocations: 0 / 0.6021 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.6599, allocations: 31.81 kB / 0.6022 GB, free: 12.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008386/0.6608, allocations: 199.4 kB / 0.6024 GB, free: 12.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.6613, allocations: 97.78 kB / 0.6025 GB, free: 12.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.6616, allocations: 107.8 kB / 0.6026 GB, free: 12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.852e-05/0.6617, allocations: 7.938 kB / 0.6026 GB, free: 12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.662, allocations: 91.67 kB / 0.6027 GB, free: 11.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.6621, allocations: 43.84 kB / 0.6027 GB, free: 11.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.6622, allocations: 4 kB / 0.6027 GB, free: 11.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009958/0.6632, allocations: 284.8 kB / 0.603 GB, free: 11.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.6633, allocations: 19.91 kB / 0.603 GB, free: 11.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.6634, allocations: 41.7 kB / 0.603 GB, free: 11.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.6639, allocations: 193.3 kB / 0.6032 GB, free: 11.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.6639, allocations: 0 / 0.6032 GB, free: 11.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6639, allocations: 0 / 0.6032 GB, free: 11.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.664, allocations: 0 / 0.6032 GB, free: 11.33 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006195/0.6646, allocations: 383.2 kB / 0.6036 GB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.6646, allocations: 12.03 kB / 0.6036 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/0.6683, allocations: 192.1 kB / 0.6038 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.6688, allocations: 202.9 kB / 0.604 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.6688, allocations: 11.94 kB / 0.604 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.6689, allocations: 8 kB / 0.604 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008384/0.6697, allocations: 231.6 kB / 0.6042 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6698, allocations: 0 / 0.6042 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.6698, allocations: 8 kB / 0.6042 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.6699, allocations: 0 / 0.6042 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007863/0.6707, allocations: 167.9 kB / 0.6044 GB, free: 10.04 MB / 410.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.001656/0.6723, allocations: 0.5793 MB / 0.6049 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.6729, allocations: 138.5 kB / 0.6051 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.673, allocations: 0 / 0.6051 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.673, allocations: 34.56 kB / 0.6051 GB, free: 9.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.673, allocations: 8 kB / 0.6051 GB, free: 9.207 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009642/0.6827, allocations: 1.297 MB / 0.6064 GB, free: 7.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.6828, allocations: 59.34 kB / 0.6064 GB, free: 7.746 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.6829, allocations: 113.8 kB / 0.6065 GB, free: 7.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.683, allocations: 29.7 kB / 0.6066 GB, free: 7.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.6831, allocations: 174.4 kB / 0.6067 GB, free: 7.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.625e-05/0.6832, allocations: 63.02 kB / 0.6068 GB, free: 7.355 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.6833, allocations: 4 kB / 0.6068 GB, free: 7.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.6834, allocations: 326.8 kB / 0.6071 GB, free: 7.023 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.6837, allocations: 63.97 kB / 0.6072 GB, free: 6.961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.684, allocations: 107.4 kB / 0.6073 GB, free: 6.844 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.6844, allocations: 76.92 kB / 0.6074 GB, free: 6.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6844, allocations: 0 / 0.6074 GB, free: 6.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000876/0.6853, allocations: 255.3 kB / 0.6076 GB, free: 6.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.6853, allocations: 10.66 kB / 0.6076 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6853, allocations: 4.094 kB / 0.6076 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.6857, allocations: 56.83 kB / 0.6077 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/0.6863, allocations: 51.95 kB / 0.6077 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000688/0.687, allocations: 0.5601 MB / 0.6083 GB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.6874, allocations: 16.11 kB / 0.6083 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.6875, allocations: 28 kB / 0.6083 GB, free: 5.762 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.6877, allocations: 129.7 kB / 0.6084 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.6878, allocations: 8.781 kB / 0.6084 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.6893, allocations: 352.3 kB / 0.6088 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.6893, allocations: 4 kB / 0.6088 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.6893, allocations: 7.938 kB / 0.6088 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6893, allocations: 0 / 0.6088 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.691, allocations: 0.6163 MB / 0.6094 GB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.6911, allocations: 0 / 0.6094 GB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006573/0.6917, allocations: 63.89 kB / 0.6094 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.6919, allocations: 24.94 kB / 0.6095 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/0.692, allocations: 15.98 kB / 0.6095 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.6934, allocations: 1.276 MB / 0.6107 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6935, allocations: 0 / 0.6107 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.6948, allocations: 467.9 kB / 0.6112 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.6949, allocations: 85.05 kB / 0.6113 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.695, allocations: 8 kB / 0.6113 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.6954, allocations: 4 kB / 0.6113 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.6955, allocations: 23.97 kB / 0.6113 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/0.6956, allocations: 28.05 kB / 0.6113 GB, free: 2.383 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.397e-05/0.6957, allocations: 91.27 kB / 0.6114 GB, free: 2.293 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6957, allocations: 0 / 0.6114 GB, free: 2.293 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006293/0.6963, allocations: 80 kB / 0.6115 GB, free: 2.215 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000551/0.6969, allocations: 151 kB / 0.6116 GB, free: 2.059 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008715/0.6978, allocations: 207.2 kB / 0.6118 GB, free: 1.859 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.6978, allocations: 0 / 0.6118 GB, free: 1.859 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.6984, allocations: 230.8 kB / 0.612 GB, free: 1.621 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/0.6991, allocations: 37.83 kB / 0.6121 GB, free: 1.586 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.7004, allocations: 0.6074 MB / 0.6127 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.7009, allocations: 0.7088 MB / 0.6134 GB, free: 212 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.7014, allocations: 55.41 kB / 0.6134 GB, free: 156 kB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7014, allocations: 0 / 0.6134 GB, free: 156 kB / 410.7 MB Notification: Performance of Templates: time 0.01062/0.712, allocations: 3.94 MB / 0.6173 GB, free: 12.21 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches