Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002375/0.002375, allocations: 188.9 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.331/2.331, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001142/0.001141, allocations: 98.78 kB / 270.9 MB, free: 13.38 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.2861/0.2861, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004444, allocations: 8 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 58.86 MB / 490.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5195/0.637, allocations: 125.7 MB / 0.6015 GB, free: 13.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.6395, allocations: 1.241 MB / 0.6027 GB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.6397, allocations: 0 / 0.6027 GB, free: 11.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.64, allocations: 31.86 kB / 0.6027 GB, free: 11.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.6412, allocations: 287.1 kB / 0.603 GB, free: 11.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.6419, allocations: 131.7 kB / 0.6031 GB, free: 11.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.6422, allocations: 111.8 kB / 0.6032 GB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.818e-05/0.6423, allocations: 4 kB / 0.6032 GB, free: 11.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.6426, allocations: 79.75 kB / 0.6033 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.6427, allocations: 43.83 kB / 0.6033 GB, free: 11.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.6428, allocations: 4 kB / 0.6033 GB, free: 11.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.6444, allocations: 439.4 kB / 0.6038 GB, free: 10.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.6445, allocations: 31.91 kB / 0.6038 GB, free: 10.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/0.6446, allocations: 49.58 kB / 0.6038 GB, free: 10.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000771/0.6454, allocations: 252.8 kB / 0.6041 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.6454, allocations: 0 / 0.6041 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6454, allocations: 0 / 0.6041 GB, free: 10.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.6454, allocations: 0 / 0.6041 GB, free: 10.45 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006556/0.6461, allocations: 399.4 kB / 0.6045 GB, free: 10.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.6461, allocations: 19.97 kB / 0.6045 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003808/0.65, allocations: 195.6 kB / 0.6047 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.6504, allocations: 202.9 kB / 0.6049 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.6504, allocations: 8.188 kB / 0.6049 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.6505, allocations: 12 kB / 0.6049 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007793/0.6513, allocations: 195 kB / 0.6051 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.6513, allocations: 4 kB / 0.6051 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.6514, allocations: 4 kB / 0.6051 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.6514, allocations: 4 kB / 0.6051 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.6525, allocations: 236.4 kB / 0.6053 GB, free: 9.105 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.002975/0.6555, allocations: 0.6798 MB / 0.606 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.6562, allocations: 186.5 kB / 0.6061 GB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.6565, allocations: 93.09 kB / 0.6062 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.6565, allocations: 34.56 kB / 0.6063 GB, free: 8.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.896e-06/0.6565, allocations: 0 / 0.6063 GB, free: 8.023 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.01012/0.6667, allocations: 1.533 MB / 0.6078 GB, free: 6.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.6668, allocations: 55.41 kB / 0.6078 GB, free: 6.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.6669, allocations: 117.8 kB / 0.6079 GB, free: 6.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.667, allocations: 29.64 kB / 0.608 GB, free: 6.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.5e-05/0.6671, allocations: 174.7 kB / 0.6081 GB, free: 5.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.033e-05/0.6672, allocations: 67 kB / 0.6082 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.6672, allocations: 7.938 kB / 0.6082 GB, free: 5.906 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6674, allocations: 322.8 kB / 0.6085 GB, free: 5.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.6678, allocations: 91.94 kB / 0.6086 GB, free: 5.492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.6682, allocations: 119.4 kB / 0.6087 GB, free: 5.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.6686, allocations: 95.98 kB / 0.6088 GB, free: 5.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6687, allocations: 0 / 0.6088 GB, free: 5.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001092/0.6698, allocations: 286.4 kB / 0.6091 GB, free: 4.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.6698, allocations: 10.66 kB / 0.6091 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6698, allocations: 3.938 kB / 0.6091 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.67, allocations: 24.84 kB / 0.6091 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008579/0.6709, allocations: 51.97 kB / 0.6092 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005139/0.6714, allocations: 0.5407 MB / 0.6097 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005575/0.672, allocations: 12.02 kB / 0.6097 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.6721, allocations: 12 kB / 0.6097 GB, free: 4.301 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.0001949/0.6723, allocations: 125.8 kB / 0.6098 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/0.6724, allocations: 11.91 kB / 0.6098 GB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.6737, allocations: 303.2 kB / 0.6101 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.6738, allocations: 4 kB / 0.6101 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6738, allocations: 0 / 0.6101 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.6738, allocations: 15.88 kB / 0.6102 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.6757, allocations: 0.6792 MB / 0.6108 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6757, allocations: 4 kB / 0.6108 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008631/0.6766, allocations: 51.98 kB / 0.6109 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.6768, allocations: 24.84 kB / 0.6109 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.507e-05/0.6768, allocations: 7.984 kB / 0.6109 GB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.6781, allocations: 1.277 MB / 0.6121 GB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6781, allocations: 0 / 0.6121 GB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.6797, allocations: 491.3 kB / 0.6126 GB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.6798, allocations: 88.89 kB / 0.6127 GB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/0.6798, allocations: 11.95 kB / 0.6127 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006111/0.6805, allocations: 8.859 kB / 0.6127 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.6805, allocations: 20.05 kB / 0.6127 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.6806, allocations: 11.98 kB / 0.6127 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.426e-05/0.6807, allocations: 91.27 kB / 0.6128 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6807, allocations: 0 / 0.6128 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007416/0.6814, allocations: 123.9 kB / 0.613 GB, free: 0.6953 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 (19): * Single equations (assignments): 18 * 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.0009562/0.6824, allocations: 240.2 kB / 0.6132 GB, free: 464 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.6835, allocations: 219.8 kB / 0.6134 GB, free: 244 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6835, allocations: 4 kB / 0.6134 GB, free: 240 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000667/0.6842, allocations: 238.6 kB / 0.6136 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006059/0.6848, allocations: 45.66 kB / 0.6137 GB, free: 15.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.6862, allocations: 0.591 MB / 0.6142 GB, free: 15.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.6867, allocations: 0.7282 MB / 0.615 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.687, allocations: 23.42 kB / 0.615 GB, free: 14.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.133e-06/0.687, allocations: 0 / 0.615 GB, free: 14.54 MB / 426.7 MB Notification: Performance of Templates: time 0.01375/0.7008, allocations: 5.298 MB / 0.6202 GB, free: 9.238 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches