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.0009628/0.0009628, allocations: 175.5 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.203/1.203, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007516/0.0007516, allocations: 86.36 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.2837/0.2837, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003351, allocations: 11.98 kB / 432 MB, free: 5.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09486, allocations: 58.84 MB / 490.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2862/0.3811, allocations: 136.6 MB / 0.6127 GB, free: 14.16 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3822, allocations: 0.8997 MB / 0.6136 GB, free: 13.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.3822, allocations: 4 kB / 0.6136 GB, free: 13.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.3825, allocations: 27.81 kB / 0.6136 GB, free: 13.24 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.3829, allocations: 194.9 kB / 0.6138 GB, free: 13.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.3832, allocations: 102.3 kB / 0.6139 GB, free: 12.95 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.3834, allocations: 183.2 kB / 0.6141 GB, free: 12.77 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.3835, allocations: 10.91 kB / 0.6141 GB, free: 12.77 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.3837, allocations: 79.64 kB / 0.6142 GB, free: 12.69 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.3838, allocations: 51.83 kB / 0.6142 GB, free: 12.64 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.3838, allocations: 4 kB / 0.6142 GB, free: 12.63 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.3843, allocations: 267.7 kB / 0.6145 GB, free: 12.37 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.3843, allocations: 19.91 kB / 0.6145 GB, free: 12.35 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.3844, allocations: 73.55 kB / 0.6146 GB, free: 12.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.3847, allocations: 197.3 kB / 0.6147 GB, free: 12.08 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3847, allocations: 0 / 0.6147 GB, free: 12.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3847, allocations: 0.6562 kB / 0.6147 GB, free: 12.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.3847, allocations: 0 / 0.6147 GB, free: 12.08 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.0004246/0.3851, allocations: 382.9 kB / 0.6151 GB, free: 11.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3852, allocations: 12.03 kB / 0.6151 GB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.387, allocations: 191.3 kB / 0.6153 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.3873, allocations: 212.4 kB / 0.6155 GB, free: 11.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3873, allocations: 3.938 kB / 0.6155 GB, free: 11.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.3874, allocations: 15.28 kB / 0.6155 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.3878, allocations: 220.1 kB / 0.6157 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3879, allocations: 3.938 kB / 0.6157 GB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.3879, allocations: 4 kB / 0.6157 GB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3879, allocations: 4 kB / 0.6157 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.3883, allocations: 159.9 kB / 0.6159 GB, free: 10.81 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.001027/0.3894, allocations: 0.5854 MB / 0.6165 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.3897, allocations: 138.5 kB / 0.6166 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3898, allocations: 68.81 kB / 0.6167 GB, free: 9.953 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.3899, allocations: 11.97 kB / 0.6167 GB, free: 9.941 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.3899, allocations: 39.38 kB / 0.6167 GB, free: 9.895 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.3899, allocations: 0 / 0.6167 GB, free: 9.895 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.004681/0.3946, allocations: 1.302 MB / 0.618 GB, free: 8.512 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.3946, allocations: 55.41 kB / 0.618 GB, free: 8.445 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.736e-05/0.3947, allocations: 117.7 kB / 0.6182 GB, free: 8.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3948, allocations: 29.7 kB / 0.6182 GB, free: 8.285 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.3948, allocations: 99.92 kB / 0.6183 GB, free: 8.184 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.3949, allocations: 70.98 kB / 0.6183 GB, free: 8.113 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/0.3949, allocations: 4 kB / 0.6184 GB, free: 8.109 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.395, allocations: 322.8 kB / 0.6187 GB, free: 7.785 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.3951, allocations: 59.97 kB / 0.6187 GB, free: 7.727 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.3953, allocations: 107.4 kB / 0.6188 GB, free: 7.609 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.3956, allocations: 183.3 kB / 0.619 GB, free: 7.418 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3956, allocations: 0 / 0.619 GB, free: 7.418 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000454/0.3961, allocations: 262 kB / 0.6192 GB, free: 7.156 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3961, allocations: 4.938 kB / 0.6192 GB, free: 7.152 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3961, allocations: 0.8594 kB / 0.6192 GB, free: 7.152 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.3963, allocations: 48.83 kB / 0.6193 GB, free: 7.102 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.3966, allocations: 59.89 kB / 0.6194 GB, free: 7.043 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003626/0.397, allocations: 0.5726 MB / 0.6199 GB, free: 6.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3972, allocations: 8.031 kB / 0.6199 GB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.3972, allocations: 20 kB / 0.6199 GB, free: 6.418 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.000111/0.3973, allocations: 129.8 kB / 0.6201 GB, free: 6.281 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.3974, allocations: 11.91 kB / 0.6201 GB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008025/0.3982, allocations: 345.1 kB / 0.6204 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3982, allocations: 9 kB / 0.6204 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3982, allocations: 0 / 0.6204 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3982, allocations: 0.75 kB / 0.6204 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008841/0.3991, allocations: 0.621 MB / 0.621 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3991, allocations: 0 / 0.621 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.3994, allocations: 59.89 kB / 0.6211 GB, free: 5.172 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.868e-05/0.3995, allocations: 28.75 kB / 0.6211 GB, free: 5.141 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.3996, allocations: 17.48 kB / 0.6211 GB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008317/0.4004, allocations: 1.265 MB / 0.6224 GB, free: 3.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4004, allocations: 3.938 kB / 0.6224 GB, free: 3.727 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.4011, allocations: 429.8 kB / 0.6228 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.4011, allocations: 85.05 kB / 0.6228 GB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.4012, allocations: 11.38 kB / 0.6229 GB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.4014, allocations: 11.94 kB / 0.6229 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.4014, allocations: 28.03 kB / 0.6229 GB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.4015, allocations: 23.98 kB / 0.6229 GB, free: 3.109 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.767e-05/0.4015, allocations: 95.25 kB / 0.623 GB, free: 3.016 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4015, allocations: 0 / 0.623 GB, free: 3.016 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000369/0.4019, allocations: 80 kB / 0.6231 GB, free: 2.938 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.0003134/0.4022, allocations: 155 kB / 0.6232 GB, free: 2.777 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00044/0.4027, allocations: 199.3 kB / 0.6234 GB, free: 2.586 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4027, allocations: 4 kB / 0.6234 GB, free: 2.582 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.403, allocations: 234.6 kB / 0.6237 GB, free: 2.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.4034, allocations: 44.67 kB / 0.6237 GB, free: 2.297 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.4042, allocations: 0.588 MB / 0.6243 GB, free: 1.676 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.4044, allocations: 0.7088 MB / 0.625 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.4047, allocations: 59.34 kB / 0.625 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4047, allocations: 0 / 0.625 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of Templates: time 0.005321/0.41, allocations: 3.788 MB / 0.6287 GB, free: 13.11 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