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.001601/0.001601, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2056/0.2056, allocations: 46.09 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 71.66 kB / 418.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.116, allocations: 62.45 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3642/0.4803, allocations: 152.4 MB / 0.6183 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.4821, allocations: 1.588 MB / 0.6199 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.4822, allocations: 0 / 0.6199 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.4825, allocations: 53.84 kB / 0.6199 GB, free: 9.281 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009085/0.4834, allocations: 403.6 kB / 0.6203 GB, free: 8.891 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.4839, allocations: 171.4 kB / 0.6205 GB, free: 8.723 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.4841, allocations: 183.3 kB / 0.6206 GB, free: 8.543 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.4842, allocations: 15.91 kB / 0.6206 GB, free: 8.527 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.4843, allocations: 77.67 kB / 0.6207 GB, free: 8.453 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.4844, allocations: 55.77 kB / 0.6208 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.4845, allocations: 8 kB / 0.6208 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009794/0.4855, allocations: 0.6003 MB / 0.6214 GB, free: 7.789 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.4855, allocations: 27.91 kB / 0.6214 GB, free: 7.762 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.4856, allocations: 62.06 kB / 0.6215 GB, free: 7.703 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.4862, allocations: 399.1 kB / 0.6218 GB, free: 7.312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4862, allocations: 3.938 kB / 0.6218 GB, free: 7.309 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.4862, allocations: 0 / 0.6218 GB, free: 7.309 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4862, allocations: 0 / 0.6218 GB, free: 7.309 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.0005171/0.4867, allocations: 427.4 kB / 0.6222 GB, free: 6.844 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.4868, allocations: 8.031 kB / 0.6223 GB, free: 6.836 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.489, allocations: 196.6 kB / 0.6224 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.4893, allocations: 208.2 kB / 0.6226 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4893, allocations: 11.94 kB / 0.6227 GB, free: 6.391 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.4893, allocations: 4 kB / 0.6227 GB, free: 6.387 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.4898, allocations: 208.4 kB / 0.6229 GB, free: 6.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4898, allocations: 0 / 0.6229 GB, free: 6.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.4898, allocations: 4 kB / 0.6229 GB, free: 6.176 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4898, allocations: 4 kB / 0.6229 GB, free: 6.172 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005614/0.4904, allocations: 239.8 kB / 0.6231 GB, free: 5.938 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.001663/0.4921, allocations: 0.6685 MB / 0.6237 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.4925, allocations: 190.4 kB / 0.6239 GB, free: 5.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.4927, allocations: 92.81 kB / 0.624 GB, free: 4.926 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.4929, allocations: 93.08 kB / 0.6241 GB, free: 4.816 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.4929, allocations: 34.56 kB / 0.6241 GB, free: 4.773 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.4929, allocations: 0 / 0.6241 GB, free: 4.773 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.005669/0.4986, allocations: 1.546 MB / 0.6256 GB, free: 3.121 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.4987, allocations: 51.41 kB / 0.6257 GB, free: 3.059 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.4987, allocations: 109.8 kB / 0.6258 GB, free: 2.941 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.4988, allocations: 29.7 kB / 0.6258 GB, free: 2.906 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.4988, allocations: 96.33 kB / 0.6259 GB, free: 2.809 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.4989, allocations: 67.03 kB / 0.626 GB, free: 2.742 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-05/0.499, allocations: 41.7 kB / 0.626 GB, free: 2.695 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.4991, allocations: 326.8 kB / 0.6263 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.4993, allocations: 91.95 kB / 0.6264 GB, free: 2.277 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.4996, allocations: 123.3 kB / 0.6265 GB, free: 2.145 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.5, allocations: 230.7 kB / 0.6268 GB, free: 1.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5, allocations: 3.938 kB / 0.6268 GB, free: 1.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005905/0.5006, allocations: 282.2 kB / 0.627 GB, free: 1.621 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.5006, allocations: 8 kB / 0.627 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5007, allocations: 4.094 kB / 0.627 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.5008, allocations: 28.78 kB / 0.6271 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.5013, allocations: 55.89 kB / 0.6271 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003208/0.5016, allocations: 0.529 MB / 0.6276 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.5019, allocations: 16.11 kB / 0.6277 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.5019, allocations: 11.94 kB / 0.6277 GB, free: 0.9414 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.0001224/0.5021, allocations: 125.8 kB / 0.6278 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.5022, allocations: 11.91 kB / 0.6278 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007457/0.5029, allocations: 307.1 kB / 0.6281 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.5029, allocations: 11.92 kB / 0.6281 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5029, allocations: 0 / 0.6281 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5029, allocations: 0 / 0.6281 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.504, allocations: 0.6762 MB / 0.6288 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.504, allocations: 4 kB / 0.6288 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/0.5045, allocations: 47.95 kB / 0.6288 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.784e-05/0.5046, allocations: 20.84 kB / 0.6288 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.5046, allocations: 13.3 kB / 0.6288 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008668/0.5055, allocations: 1.368 MB / 0.6302 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5055, allocations: 3.938 kB / 0.6302 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.5063, allocations: 458.9 kB / 0.6306 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.5064, allocations: 85.05 kB / 0.6307 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.5064, allocations: 4 kB / 0.6307 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.5068, allocations: 11.98 kB / 0.6307 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.5068, allocations: 19.92 kB / 0.6307 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.5069, allocations: 7.984 kB / 0.6307 GB, free: 13.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.474e-05/0.5069, allocations: 91.34 kB / 0.6308 GB, free: 13.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5069, allocations: 0 / 0.6308 GB, free: 13.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005046/0.5074, allocations: 131.9 kB / 0.631 GB, free: 13.3 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.000686/0.5081, allocations: 270.9 kB / 0.6312 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000626/0.5088, allocations: 235.7 kB / 0.6314 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5088, allocations: 0 / 0.6314 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.5092, allocations: 242.9 kB / 0.6317 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.5096, allocations: 44.48 kB / 0.6317 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008775/0.5105, allocations: 0.4953 MB / 0.6322 GB, free: 11.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.5108, allocations: 0.7084 MB / 0.6329 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.511, allocations: 31.42 kB / 0.6329 GB, free: 11.2 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.511, allocations: 0 / 0.6329 GB, free: 11.2 MB / 478.1 MB Notification: Performance of Templates: time 0.007934/0.5189, allocations: 5.174 MB / 0.638 GB, free: 6.035 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