Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001704, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002169/0.002169, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.309/2.309, allocations: 227.4 MB / 246.9 MB, free: 9.004 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.483/0.483, allocations: 46.11 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 74 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2101, allocations: 62.45 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.6243/0.8344, allocations: 150.2 MB / 0.6154 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.837, allocations: 1.639 MB / 0.617 GB, free: 12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.8371, allocations: 0 / 0.617 GB, free: 12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.8376, allocations: 47.78 kB / 0.617 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.8386, allocations: 375.1 kB / 0.6174 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.8392, allocations: 155.8 kB / 0.6175 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000392/0.8396, allocations: 239.2 kB / 0.6178 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.8397, allocations: 15.92 kB / 0.6178 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.8399, allocations: 73.67 kB / 0.6179 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.84, allocations: 59.75 kB / 0.6179 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.8401, allocations: 4 kB / 0.6179 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.8415, allocations: 0.7172 MB / 0.6186 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.8416, allocations: 27.89 kB / 0.6186 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.8417, allocations: 49.11 kB / 0.6187 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.8421, allocations: 291.4 kB / 0.619 GB, free: 9.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.8422, allocations: 4 kB / 0.619 GB, free: 9.977 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.8422, allocations: 0 / 0.619 GB, free: 9.977 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.8422, allocations: 0 / 0.619 GB, free: 9.977 MB / 462.1 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.000783/0.843, allocations: 431.4 kB / 0.6194 GB, free: 9.508 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.8431, allocations: 12.88 kB / 0.6194 GB, free: 9.496 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/0.8456, allocations: 196.6 kB / 0.6196 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.846, allocations: 208.1 kB / 0.6198 GB, free: 9.062 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.846, allocations: 7.938 kB / 0.6198 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.8461, allocations: 12 kB / 0.6198 GB, free: 9.043 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/0.8467, allocations: 197.5 kB / 0.62 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.8467, allocations: 0 / 0.62 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.8467, allocations: 8 kB / 0.62 GB, free: 8.836 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.8467, allocations: 7.938 kB / 0.62 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/0.8474, allocations: 239.7 kB / 0.6202 GB, free: 8.594 MB / 462.1 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.002079/0.8495, allocations: 0.669 MB / 0.6209 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.85, allocations: 190.5 kB / 0.6211 GB, free: 7.676 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.8502, allocations: 92.81 kB / 0.6212 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.8505, allocations: 89.09 kB / 0.6212 GB, free: 7.477 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.8505, allocations: 34.75 kB / 0.6213 GB, free: 7.434 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.8505, allocations: 0 / 0.6213 GB, free: 7.434 MB / 462.1 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.006594/0.8571, allocations: 1.54 MB / 0.6228 GB, free: 5.781 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.8572, allocations: 55.41 kB / 0.6228 GB, free: 5.715 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.8574, allocations: 109.8 kB / 0.6229 GB, free: 5.598 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.8575, allocations: 29.7 kB / 0.623 GB, free: 5.562 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.8576, allocations: 100.3 kB / 0.6231 GB, free: 5.461 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.8577, allocations: 63.05 kB / 0.6231 GB, free: 5.398 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.8578, allocations: 41.69 kB / 0.6232 GB, free: 5.352 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.8581, allocations: 322.8 kB / 0.6235 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.8585, allocations: 87.95 kB / 0.6236 GB, free: 4.941 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.8589, allocations: 123.4 kB / 0.6237 GB, free: 4.809 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.8594, allocations: 232.7 kB / 0.6239 GB, free: 4.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8594, allocations: 0 / 0.6239 GB, free: 4.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000712/0.8601, allocations: 289.7 kB / 0.6242 GB, free: 4.281 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.8602, allocations: 4 kB / 0.6242 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.8602, allocations: 4 kB / 0.6242 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.8604, allocations: 25.56 kB / 0.6242 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.8609, allocations: 59.95 kB / 0.6243 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006484/0.8615, allocations: 0.5289 MB / 0.6248 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.862, allocations: 12.02 kB / 0.6248 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.862, allocations: 16.03 kB / 0.6248 GB, free: 3.605 MB / 462.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000203/0.8622, allocations: 137.6 kB / 0.6249 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.8624, allocations: 9.156 kB / 0.6249 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000862/0.8632, allocations: 311.2 kB / 0.6252 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.8632, allocations: 3.938 kB / 0.6252 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.8633, allocations: 0 / 0.6252 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.8633, allocations: 4 kB / 0.6253 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.8649, allocations: 0.6777 MB / 0.6259 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8649, allocations: 0 / 0.6259 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/0.8654, allocations: 51.89 kB / 0.626 GB, free: 2.336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.8655, allocations: 24.84 kB / 0.626 GB, free: 2.309 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.8656, allocations: 7.984 kB / 0.626 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.867, allocations: 1.266 MB / 0.6272 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.867, allocations: 4.031 kB / 0.6272 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009944/0.868, allocations: 453.1 kB / 0.6277 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.8681, allocations: 85.05 kB / 0.6277 GB, free: 340 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.8681, allocations: 11.94 kB / 0.6278 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.8685, allocations: 12.05 kB / 0.6278 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.8685, allocations: 15.98 kB / 0.6278 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.8687, allocations: 11.98 kB / 0.6278 GB, free: 288 kB / 462.1 MB Notification: Performance of sorting global known variables: time 7.304e-05/0.8688, allocations: 91.58 kB / 0.6279 GB, free: 196 kB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8688, allocations: 0 / 0.6279 GB, free: 196 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006943/0.8695, allocations: 135.9 kB / 0.628 GB, free: 60 kB / 462.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.8705, allocations: 270.5 kB / 0.6283 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007272/0.8713, allocations: 231.8 kB / 0.6285 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.8713, allocations: 0 / 0.6285 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.8718, allocations: 234.4 kB / 0.6287 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.8724, allocations: 54.78 kB / 0.6288 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.8737, allocations: 0.5404 MB / 0.6293 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.8743, allocations: 0.7049 MB / 0.63 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.8745, allocations: 23.42 kB / 0.63 GB, free: 13.93 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.8745, allocations: 0 / 0.63 GB, free: 13.93 MB / 478.1 MB Notification: Performance of Templates: time 0.01179/0.8863, allocations: 5.166 MB / 0.6351 GB, free: 8.773 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches