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.001138/0.001138, allocations: 179.7 kB / 16.41 MB, free: 5.707 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.639/1.639, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009321/0.0009321, allocations: 93.05 kB / 270.9 MB, free: 8.355 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.4604/0.4604, allocations: 43.57 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.000405, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1664, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4218/0.5882, allocations: 136.6 MB / 0.6121 GB, free: 14.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.5895, allocations: 0.9101 MB / 0.613 GB, free: 13.58 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.5896, allocations: 4 kB / 0.613 GB, free: 13.58 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.5898, allocations: 15.89 kB / 0.613 GB, free: 13.56 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.5903, allocations: 207.2 kB / 0.6132 GB, free: 13.36 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.5907, allocations: 97.23 kB / 0.6133 GB, free: 13.27 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.5909, allocations: 175.2 kB / 0.6135 GB, free: 13.1 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.591, allocations: 6.922 kB / 0.6135 GB, free: 13.09 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.5912, allocations: 91.67 kB / 0.6136 GB, free: 13 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.832e-05/0.5913, allocations: 55.77 kB / 0.6136 GB, free: 12.95 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.5913, allocations: 10.25 kB / 0.6137 GB, free: 12.94 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004947/0.5918, allocations: 259.7 kB / 0.6139 GB, free: 12.69 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.5919, allocations: 19.92 kB / 0.6139 GB, free: 12.67 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.5919, allocations: 37.7 kB / 0.614 GB, free: 12.62 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.5922, allocations: 201.3 kB / 0.6141 GB, free: 12.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.5922, allocations: 0 / 0.6141 GB, free: 12.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5923, allocations: 3.938 kB / 0.6142 GB, free: 12.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.5923, allocations: 0 / 0.6142 GB, free: 12.43 MB / 442.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.0005384/0.5928, allocations: 386.8 kB / 0.6145 GB, free: 12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5929, allocations: 12.03 kB / 0.6145 GB, free: 11.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.5949, allocations: 186.4 kB / 0.6147 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.5951, allocations: 206.9 kB / 0.6149 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.5951, allocations: 4 kB / 0.6149 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.5952, allocations: 12 kB / 0.6149 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.5957, allocations: 223.5 kB / 0.6151 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.5957, allocations: 0 / 0.6151 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.5958, allocations: 7.984 kB / 0.6151 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.5958, allocations: 4 kB / 0.6151 GB, free: 11.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.5962, allocations: 163.8 kB / 0.6153 GB, free: 11.15 MB / 442.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.001038/0.5973, allocations: 0.5825 MB / 0.6159 GB, free: 10.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.5976, allocations: 138.5 kB / 0.616 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.5978, allocations: 67.17 kB / 0.6161 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.5978, allocations: 4 kB / 0.6161 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5978, allocations: 42.8 kB / 0.6161 GB, free: 10.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.5978, allocations: 3.984 kB / 0.6161 GB, free: 10.25 MB / 442.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.005184/0.603, allocations: 1.298 MB / 0.6174 GB, free: 8.859 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.6031, allocations: 59.34 kB / 0.6174 GB, free: 8.789 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6032, allocations: 112.5 kB / 0.6175 GB, free: 8.672 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.6033, allocations: 29.7 kB / 0.6176 GB, free: 8.637 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.6034, allocations: 99.89 kB / 0.6177 GB, free: 8.535 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/0.6034, allocations: 70.98 kB / 0.6177 GB, free: 8.465 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.6034, allocations: 4 kB / 0.6177 GB, free: 8.461 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6036, allocations: 322.8 kB / 0.6181 GB, free: 8.137 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.6037, allocations: 67.97 kB / 0.6181 GB, free: 8.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.6039, allocations: 103.6 kB / 0.6182 GB, free: 7.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.6041, allocations: 76.92 kB / 0.6183 GB, free: 7.883 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.6041, allocations: 0 / 0.6183 GB, free: 7.883 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004988/0.6046, allocations: 259.4 kB / 0.6185 GB, free: 7.621 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6047, allocations: 8 kB / 0.6185 GB, free: 7.613 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.6047, allocations: 0 / 0.6185 GB, free: 7.613 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.6049, allocations: 52.77 kB / 0.6186 GB, free: 7.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.6052, allocations: 47.97 kB / 0.6186 GB, free: 7.512 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004459/0.6056, allocations: 0.5719 MB / 0.6192 GB, free: 6.914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.6058, allocations: 7.969 kB / 0.6192 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.6059, allocations: 31.98 kB / 0.6192 GB, free: 6.875 MB / 442.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.0001151/0.606, allocations: 125.8 kB / 0.6194 GB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.6061, allocations: 18.92 kB / 0.6194 GB, free: 6.727 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008159/0.6069, allocations: 350.9 kB / 0.6197 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6069, allocations: 0 / 0.6197 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6069, allocations: 0 / 0.6197 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.6069, allocations: 4 kB / 0.6197 GB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009524/0.6079, allocations: 0.62 MB / 0.6203 GB, free: 5.688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6079, allocations: 4 kB / 0.6203 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.6082, allocations: 59.89 kB / 0.6204 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.472e-05/0.6083, allocations: 20.84 kB / 0.6204 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.6084, allocations: 12 kB / 0.6204 GB, free: 5.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009386/0.6093, allocations: 1.269 MB / 0.6216 GB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6093, allocations: 4.031 kB / 0.6217 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.61, allocations: 436.1 kB / 0.6221 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.6101, allocations: 87.08 kB / 0.6222 GB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.6101, allocations: 7.984 kB / 0.6222 GB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.6103, allocations: 7.953 kB / 0.6222 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.6104, allocations: 23.97 kB / 0.6222 GB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.6104, allocations: 36.05 kB / 0.6222 GB, free: 3.559 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.823e-05/0.6105, allocations: 80.06 kB / 0.6223 GB, free: 3.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6105, allocations: 4 kB / 0.6223 GB, free: 3.477 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003977/0.6109, allocations: 76 kB / 0.6224 GB, free: 3.402 MB / 442.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.000348/0.6113, allocations: 155 kB / 0.6225 GB, free: 3.242 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.6118, allocations: 199.3 kB / 0.6227 GB, free: 3.051 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6118, allocations: 0 / 0.6227 GB, free: 3.051 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.6122, allocations: 230.8 kB / 0.6229 GB, free: 2.812 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.6126, allocations: 48.56 kB / 0.623 GB, free: 2.766 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008889/0.6135, allocations: 0.6012 MB / 0.6236 GB, free: 2.133 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.6138, allocations: 0.7049 MB / 0.6243 GB, free: 1.402 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.614, allocations: 59.41 kB / 0.6243 GB, free: 1.348 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.614, allocations: 3.938 kB / 0.6243 GB, free: 1.344 MB / 442.7 MB Notification: Performance of Templates: time 0.005969/0.62, allocations: 3.775 MB / 0.628 GB, free: 13.59 MB / 458.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/jenkins/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