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.001595/0.001596, allocations: 109.6 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001792/0.001792, allocations: 208 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.4 MB / 247.5 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.12 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 77.95 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1203, allocations: 62.46 MB / 480.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4014/0.5217, allocations: 152.4 MB / 0.6184 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.5239, allocations: 1.587 MB / 0.6199 GB, free: 9.207 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.524, allocations: 4 kB / 0.6199 GB, free: 9.203 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.5243, allocations: 50.36 kB / 0.62 GB, free: 9.156 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.5254, allocations: 415.2 kB / 0.6204 GB, free: 8.754 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.526, allocations: 167.4 kB / 0.6205 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.5263, allocations: 175.3 kB / 0.6207 GB, free: 8.418 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.5263, allocations: 11.92 kB / 0.6207 GB, free: 8.406 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.5265, allocations: 85.59 kB / 0.6208 GB, free: 8.324 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.5267, allocations: 55.83 kB / 0.6208 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.5267, allocations: 4 kB / 0.6209 GB, free: 8.266 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.5279, allocations: 0.6041 MB / 0.6214 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.528, allocations: 31.91 kB / 0.6215 GB, free: 7.629 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.818e-05/0.5281, allocations: 54.5 kB / 0.6215 GB, free: 7.578 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000687/0.5288, allocations: 403.1 kB / 0.6219 GB, free: 7.184 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5288, allocations: 0 / 0.6219 GB, free: 7.184 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5288, allocations: 0 / 0.6219 GB, free: 7.184 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.5288, allocations: 0 / 0.6219 GB, free: 7.184 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.0006264/0.5294, allocations: 427.4 kB / 0.6223 GB, free: 6.719 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5295, allocations: 8.031 kB / 0.6223 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.5319, allocations: 200.5 kB / 0.6225 GB, free: 6.516 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.5322, allocations: 212.1 kB / 0.6227 GB, free: 6.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.5322, allocations: 7.938 kB / 0.6227 GB, free: 6.262 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.5322, allocations: 8 kB / 0.6227 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.5328, allocations: 201.5 kB / 0.6229 GB, free: 6.051 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5328, allocations: 0 / 0.6229 GB, free: 6.051 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.5328, allocations: 4 kB / 0.6229 GB, free: 6.047 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.5328, allocations: 8 kB / 0.6229 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.5335, allocations: 239.7 kB / 0.6232 GB, free: 5.805 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.001879/0.5354, allocations: 0.6686 MB / 0.6238 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.5358, allocations: 190.5 kB / 0.624 GB, free: 4.887 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.5361, allocations: 88.81 kB / 0.6241 GB, free: 4.797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.5363, allocations: 89.09 kB / 0.6242 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.5363, allocations: 38.5 kB / 0.6242 GB, free: 4.645 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.764e-06/0.5363, allocations: 0 / 0.6242 GB, free: 4.645 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.006234/0.5426, allocations: 1.543 MB / 0.6257 GB, free: 2.996 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.5426, allocations: 59.39 kB / 0.6258 GB, free: 2.926 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.5428, allocations: 105.8 kB / 0.6259 GB, free: 2.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.5428, allocations: 33.7 kB / 0.6259 GB, free: 2.773 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.5429, allocations: 92.33 kB / 0.626 GB, free: 2.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.543, allocations: 67.03 kB / 0.6261 GB, free: 2.613 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.5431, allocations: 45.7 kB / 0.6261 GB, free: 2.562 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5432, allocations: 322.8 kB / 0.6264 GB, free: 2.238 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.5434, allocations: 87.95 kB / 0.6265 GB, free: 2.152 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.5437, allocations: 119.4 kB / 0.6266 GB, free: 2.023 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.5442, allocations: 234.8 kB / 0.6268 GB, free: 1.785 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5442, allocations: 3.938 kB / 0.6268 GB, free: 1.781 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006727/0.5449, allocations: 290.1 kB / 0.6271 GB, free: 1.488 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5449, allocations: 8.094 kB / 0.6271 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.545, allocations: 0 / 0.6271 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.5451, allocations: 24.84 kB / 0.6271 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.5456, allocations: 51.97 kB / 0.6272 GB, free: 1.402 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004005/0.546, allocations: 0.5367 MB / 0.6277 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.5463, allocations: 12.11 kB / 0.6277 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.5464, allocations: 15.94 kB / 0.6277 GB, free: 0.8125 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.0001602/0.5465, allocations: 121.8 kB / 0.6279 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.5466, allocations: 11.91 kB / 0.6279 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/0.5474, allocations: 307.5 kB / 0.6282 GB, free: 368 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.5475, allocations: 7.938 kB / 0.6282 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5475, allocations: 0 / 0.6282 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5475, allocations: 3.984 kB / 0.6282 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.5487, allocations: 0.6766 MB / 0.6288 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5487, allocations: 0 / 0.6288 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.5492, allocations: 51.89 kB / 0.6289 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.118e-05/0.5493, allocations: 20.84 kB / 0.6289 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.5493, allocations: 12.03 kB / 0.6289 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.5504, allocations: 1.374 MB / 0.6303 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5504, allocations: 32 / 0.6303 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009113/0.5514, allocations: 455.2 kB / 0.6307 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.5514, allocations: 89.03 kB / 0.6308 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.5515, allocations: 8 kB / 0.6308 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.5518, allocations: 8 kB / 0.6308 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.5519, allocations: 15.97 kB / 0.6308 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.5519, allocations: 15.98 kB / 0.6308 GB, free: 13.38 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.399e-05/0.552, allocations: 87.34 kB / 0.6309 GB, free: 13.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.552, allocations: 0 / 0.6309 GB, free: 13.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005651/0.5526, allocations: 131.9 kB / 0.631 GB, free: 13.17 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.0007282/0.5533, allocations: 267.6 kB / 0.6313 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007209/0.554, allocations: 243.6 kB / 0.6315 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.554, allocations: 0 / 0.6315 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.5545, allocations: 231 kB / 0.6317 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.555, allocations: 43.95 kB / 0.6318 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.556, allocations: 0.4968 MB / 0.6323 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.5563, allocations: 0.7162 MB / 0.633 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.5565, allocations: 27.42 kB / 0.633 GB, free: 11.07 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5565, allocations: 3.938 kB / 0.633 GB, free: 11.07 MB / 478.1 MB Notification: Performance of Templates: time 0.008601/0.5651, allocations: 5.17 MB / 0.638 GB, free: 5.906 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