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.001269/0.001269, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.7 MB / 247.5 MB, free: 11.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.19 MB / 345.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002542, allocations: 8 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1401, allocations: 63.55 MB / 483.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4282/0.5684, allocations: 148.3 MB / 0.6173 GB, free: 380 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.5708, allocations: 1.614 MB / 0.6188 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.5709, allocations: 4 kB / 0.6188 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.5713, allocations: 42.55 kB / 0.6189 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.5725, allocations: 377.2 kB / 0.6192 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.573, allocations: 147.5 kB / 0.6194 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.5733, allocations: 247.2 kB / 0.6196 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.5734, allocations: 4 kB / 0.6196 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.5736, allocations: 81.61 kB / 0.6197 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.5738, allocations: 59.81 kB / 0.6197 GB, free: 13.83 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.5738, allocations: 4 kB / 0.6198 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.5752, allocations: 0.7133 MB / 0.6204 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.5752, allocations: 31.84 kB / 0.6205 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.705e-05/0.5753, allocations: 78.33 kB / 0.6206 GB, free: 13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005257/0.5759, allocations: 291.4 kB / 0.6208 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5759, allocations: 0 / 0.6208 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5759, allocations: 0 / 0.6208 GB, free: 12.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.5759, allocations: 0 / 0.6208 GB, free: 12.71 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.0005975/0.5765, allocations: 411.4 kB / 0.6212 GB, free: 12.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5766, allocations: 12.88 kB / 0.6212 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.5789, allocations: 196.6 kB / 0.6214 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.5792, allocations: 204.9 kB / 0.6216 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5792, allocations: 11.88 kB / 0.6216 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.5793, allocations: 11.94 kB / 0.6216 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.5798, allocations: 197.5 kB / 0.6218 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5798, allocations: 4 kB / 0.6218 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.5799, allocations: 4 kB / 0.6218 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.5799, allocations: 5.375 kB / 0.6218 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006002/0.5805, allocations: 235.8 kB / 0.6221 GB, free: 11.36 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.001812/0.5823, allocations: 0.669 MB / 0.6227 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.5828, allocations: 194.4 kB / 0.6229 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.583, allocations: 96.8 kB / 0.623 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.5831, allocations: 85.09 kB / 0.6231 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.5832, allocations: 34.56 kB / 0.6231 GB, free: 10.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 3.367e-06/0.5832, allocations: 4 kB / 0.6231 GB, free: 10.19 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.005831/0.589, allocations: 1.546 MB / 0.6246 GB, free: 8.531 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.5891, allocations: 55.41 kB / 0.6247 GB, free: 8.465 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.5892, allocations: 109.8 kB / 0.6248 GB, free: 8.348 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.5892, allocations: 33.7 kB / 0.6248 GB, free: 8.309 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.5893, allocations: 92.41 kB / 0.6249 GB, free: 8.215 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.5894, allocations: 66.95 kB / 0.625 GB, free: 8.148 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.5894, allocations: 25.7 kB / 0.625 GB, free: 8.117 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.5895, allocations: 322.8 kB / 0.6253 GB, free: 7.793 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.5898, allocations: 95.95 kB / 0.6254 GB, free: 7.699 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.59, allocations: 126.8 kB / 0.6255 GB, free: 7.566 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.5905, allocations: 230.8 kB / 0.6257 GB, free: 7.332 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5905, allocations: 0 / 0.6257 GB, free: 7.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006248/0.5911, allocations: 278.2 kB / 0.626 GB, free: 7.051 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5912, allocations: 11.98 kB / 0.626 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5912, allocations: 0 / 0.626 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.5913, allocations: 32.88 kB / 0.626 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.5918, allocations: 51.91 kB / 0.6261 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000398/0.5922, allocations: 0.537 MB / 0.6266 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.5925, allocations: 11.98 kB / 0.6266 GB, free: 6.379 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.5926, allocations: 12.03 kB / 0.6266 GB, free: 6.367 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.0001284/0.5927, allocations: 125.8 kB / 0.6268 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.5928, allocations: 11.91 kB / 0.6268 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008171/0.5936, allocations: 311.1 kB / 0.6271 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.5936, allocations: 7.938 kB / 0.6271 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.5936, allocations: 0 / 0.6271 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5937, allocations: 3.984 kB / 0.6271 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.5948, allocations: 0.6778 MB / 0.6277 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.5948, allocations: 4 kB / 0.6277 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.5953, allocations: 51.95 kB / 0.6278 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.051e-05/0.5953, allocations: 20.78 kB / 0.6278 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.5954, allocations: 8 kB / 0.6278 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008626/0.5963, allocations: 1.265 MB / 0.6291 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5963, allocations: 3.938 kB / 0.6291 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/0.5971, allocations: 445.8 kB / 0.6295 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.5972, allocations: 85.05 kB / 0.6296 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.5972, allocations: 11.94 kB / 0.6296 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.5976, allocations: 19.95 kB / 0.6296 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.5976, allocations: 19.91 kB / 0.6296 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.5977, allocations: 12 kB / 0.6296 GB, free: 3.039 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.861e-05/0.5977, allocations: 87.27 kB / 0.6297 GB, free: 2.953 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5977, allocations: 0 / 0.6297 GB, free: 2.953 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005457/0.5983, allocations: 135.9 kB / 0.6298 GB, free: 2.82 MB / 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.0007198/0.599, allocations: 255 kB / 0.6301 GB, free: 2.562 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000629/0.5996, allocations: 231.7 kB / 0.6303 GB, free: 2.336 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.5997, allocations: 0 / 0.6303 GB, free: 2.336 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.6, allocations: 226.6 kB / 0.6305 GB, free: 2.102 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.6005, allocations: 60.2 kB / 0.6306 GB, free: 2.043 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009516/0.6015, allocations: 0.6188 MB / 0.6312 GB, free: 1.387 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.6018, allocations: 0.7049 MB / 0.6319 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.602, allocations: 27.42 kB / 0.6319 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.602, allocations: 0 / 0.6319 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of Templates: time 0.008061/0.61, allocations: 5.154 MB / 0.6369 GB, free: 11.48 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