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.001324/0.001324, allocations: 113.1 kB / 17.99 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 213.8 kB / 18.92 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.13 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 77.19 kB / 417.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.125, allocations: 62.45 MB / 480.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3953/0.5204, allocations: 150.4 MB / 0.6158 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.5224, allocations: 1.587 MB / 0.6173 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.5225, allocations: 0 / 0.6173 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.5228, allocations: 51.8 kB / 0.6174 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008692/0.5237, allocations: 375.3 kB / 0.6177 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.5243, allocations: 155.2 kB / 0.6179 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.5245, allocations: 179.3 kB / 0.6181 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.5246, allocations: 11.92 kB / 0.6181 GB, free: 11 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.5247, allocations: 85.61 kB / 0.6182 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.5249, allocations: 59.81 kB / 0.6182 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.5249, allocations: 8 kB / 0.6182 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.5259, allocations: 0.6314 MB / 0.6188 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.526, allocations: 31.84 kB / 0.6189 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.526e-05/0.5261, allocations: 54.78 kB / 0.6189 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.5265, allocations: 283.4 kB / 0.6192 GB, free: 9.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5265, allocations: 3.984 kB / 0.6192 GB, free: 9.859 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5265, allocations: 0 / 0.6192 GB, free: 9.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.5265, allocations: 0 / 0.6192 GB, free: 9.859 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.0006065/0.5271, allocations: 435.4 kB / 0.6196 GB, free: 9.387 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.5272, allocations: 8.031 kB / 0.6196 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.5294, allocations: 192.6 kB / 0.6198 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.5298, allocations: 208.2 kB / 0.62 GB, free: 8.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5298, allocations: 11.94 kB / 0.62 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.5299, allocations: 8 kB / 0.62 GB, free: 8.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/0.5304, allocations: 212.4 kB / 0.6202 GB, free: 8.719 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.5305, allocations: 0 / 0.6202 GB, free: 8.719 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.5305, allocations: 4 kB / 0.6202 GB, free: 8.715 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5305, allocations: 4 kB / 0.6202 GB, free: 8.711 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006124/0.5311, allocations: 235.8 kB / 0.6205 GB, free: 8.48 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.001861/0.533, allocations: 0.6647 MB / 0.6211 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.5335, allocations: 190.4 kB / 0.6213 GB, free: 7.566 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.5337, allocations: 92.81 kB / 0.6214 GB, free: 7.473 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.5339, allocations: 93.09 kB / 0.6215 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.5339, allocations: 38.56 kB / 0.6215 GB, free: 7.316 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.5339, allocations: 0 / 0.6215 GB, free: 7.316 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.005957/0.5399, allocations: 1.537 MB / 0.623 GB, free: 5.672 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.54, allocations: 55.41 kB / 0.6231 GB, free: 5.605 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.5401, allocations: 117.8 kB / 0.6232 GB, free: 5.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.5401, allocations: 29.7 kB / 0.6232 GB, free: 5.445 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.5402, allocations: 100.3 kB / 0.6233 GB, free: 5.344 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.73e-05/0.5403, allocations: 63.05 kB / 0.6233 GB, free: 5.281 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.5404, allocations: 49.69 kB / 0.6234 GB, free: 5.227 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5406, allocations: 318.8 kB / 0.6237 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.5408, allocations: 87.95 kB / 0.6238 GB, free: 4.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.5411, allocations: 123.3 kB / 0.6239 GB, free: 4.688 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.5416, allocations: 238.8 kB / 0.6241 GB, free: 4.445 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5416, allocations: 0 / 0.6241 GB, free: 4.445 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006467/0.5422, allocations: 286.2 kB / 0.6244 GB, free: 4.156 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5423, allocations: 4 kB / 0.6244 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5423, allocations: 0 / 0.6244 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.5424, allocations: 24.84 kB / 0.6244 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.5429, allocations: 55.89 kB / 0.6245 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004398/0.5433, allocations: 0.533 MB / 0.625 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.5436, allocations: 12.7 kB / 0.625 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.5437, allocations: 11.94 kB / 0.625 GB, free: 3.488 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.0001401/0.5438, allocations: 125.8 kB / 0.6251 GB, free: 3.355 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/0.5439, allocations: 11.91 kB / 0.6252 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008535/0.5448, allocations: 307.2 kB / 0.6255 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.5448, allocations: 7.938 kB / 0.6255 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.5448, allocations: 0 / 0.6255 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5448, allocations: 7.938 kB / 0.6255 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.5461, allocations: 0.6764 MB / 0.6261 GB, free: 2.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5462, allocations: 0 / 0.6261 GB, free: 2.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/0.5466, allocations: 51.94 kB / 0.6262 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.412e-05/0.5467, allocations: 20.94 kB / 0.6262 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.5467, allocations: 11.98 kB / 0.6262 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.548, allocations: 1.362 MB / 0.6275 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.548, allocations: 4.031 kB / 0.6275 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008873/0.5489, allocations: 459.3 kB / 0.628 GB, free: 216 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.549, allocations: 85.05 kB / 0.6281 GB, free: 112 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.549, allocations: 8 kB / 0.6281 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.5493, allocations: 12.67 kB / 0.6281 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.5494, allocations: 19.98 kB / 0.6281 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.5494, allocations: 11.98 kB / 0.6281 GB, free: 60 kB / 462.1 MB Notification: Performance of sorting global known variables: time 8.183e-05/0.5495, allocations: 87.27 kB / 0.6282 GB, free: 15.97 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5495, allocations: 4 kB / 0.6282 GB, free: 15.97 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005354/0.5501, allocations: 131.9 kB / 0.6283 GB, free: 15.84 MB / 478.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.0007454/0.5508, allocations: 263 kB / 0.6286 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006704/0.5515, allocations: 243.8 kB / 0.6288 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5515, allocations: 0 / 0.6288 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.5519, allocations: 234.4 kB / 0.629 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.5524, allocations: 54.69 kB / 0.6291 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.5534, allocations: 0.532 MB / 0.6296 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.5538, allocations: 0.7085 MB / 0.6303 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.554, allocations: 35.36 kB / 0.6303 GB, free: 13.7 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.554, allocations: 0 / 0.6303 GB, free: 13.7 MB / 478.1 MB Notification: Performance of Templates: time 0.008893/0.5629, allocations: 5.173 MB / 0.6354 GB, free: 8.531 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