Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 74.97 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 169.9 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2476/0.2476, allocations: 32.37 MB / 269.6 MB, free: 4.652 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.9e-05/4.168e-05, allocations: 6.281 kB / 407.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4638/0.4639, allocations: 129.8 MB / 0.5245 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.4659, allocations: 1.339 MB / 0.5258 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.466, allocations: 4 kB / 0.5258 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.4664, allocations: 46.19 kB / 0.5259 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.4675, allocations: 407.5 kB / 0.5263 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.468, allocations: 176.1 kB / 0.5264 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.4683, allocations: 187.5 kB / 0.5266 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.4683, allocations: 5.188 kB / 0.5266 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.4685, allocations: 97.69 kB / 0.5267 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.4687, allocations: 58.61 kB / 0.5268 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.4687, allocations: 9.812 kB / 0.5268 GB, free: 8.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.4698, allocations: 0.5231 MB / 0.5273 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.477e-05/0.4698, allocations: 38.48 kB / 0.5273 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.4699, allocations: 41.98 kB / 0.5274 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.4706, allocations: 426.7 kB / 0.5278 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.4706, allocations: 0 / 0.5278 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4706, allocations: 0 / 0.5278 GB, free: 7.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.4706, allocations: 0 / 0.5278 GB, free: 7.809 MB / 414.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.0006138/0.4712, allocations: 355.3 kB / 0.5281 GB, free: 7.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.4713, allocations: 14.62 kB / 0.5281 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.4736, allocations: 196.1 kB / 0.5283 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.4739, allocations: 156.3 kB / 0.5285 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.4739, allocations: 6.094 kB / 0.5285 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.4739, allocations: 13.66 kB / 0.5285 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.4745, allocations: 286.4 kB / 0.5288 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4745, allocations: 0 / 0.5288 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.4746, allocations: 4 kB / 0.5288 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.4746, allocations: 3.125 kB / 0.5288 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006127/0.4752, allocations: 234.4 kB / 0.529 GB, free: 6.852 MB / 414.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.001843/0.477, allocations: 0.554 MB / 0.5295 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.4775, allocations: 184.8 kB / 0.5297 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.4777, allocations: 93.97 kB / 0.5298 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.4779, allocations: 20.47 kB / 0.5298 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.4779, allocations: 31.41 kB / 0.5298 GB, free: 6.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.4779, allocations: 2.5 kB / 0.5299 GB, free: 6.176 MB / 414.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.006043/0.4839, allocations: 1.388 MB / 0.5312 GB, free: 5.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.484, allocations: 54.59 kB / 0.5313 GB, free: 5.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.4841, allocations: 108.1 kB / 0.5314 GB, free: 5.102 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.4841, allocations: 29.7 kB / 0.5314 GB, free: 5.066 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.4842, allocations: 103.3 kB / 0.5315 GB, free: 4.965 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.069e-05/0.4843, allocations: 70.94 kB / 0.5316 GB, free: 4.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.4844, allocations: 46.02 kB / 0.5316 GB, free: 4.867 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.4846, allocations: 325.6 kB / 0.5319 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.4848, allocations: 88.73 kB / 0.532 GB, free: 4.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.4851, allocations: 127.2 kB / 0.5321 GB, free: 4.414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.4856, allocations: 227.2 kB / 0.5323 GB, free: 4.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.4856, allocations: 2.812 kB / 0.5323 GB, free: 4.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006796/0.4863, allocations: 277.9 kB / 0.5326 GB, free: 4.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4863, allocations: 5.656 kB / 0.5326 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4863, allocations: 0 / 0.5326 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001397/0.4864, allocations: 23.41 kB / 0.5326 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.4869, allocations: 67.23 kB / 0.5327 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004478/0.4874, allocations: 0.5282 MB / 0.5332 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.4877, allocations: 15.33 kB / 0.5332 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.4877, allocations: 8.031 kB / 0.5332 GB, free: 3.535 MB / 414.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.0001671/0.4879, allocations: 123 kB / 0.5333 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.488, allocations: 19.97 kB / 0.5334 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008316/0.4888, allocations: 316.5 kB / 0.5337 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4888, allocations: 2.156 kB / 0.5337 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4888, allocations: 0 / 0.5337 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4888, allocations: 5.047 kB / 0.5337 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.49, allocations: 0.5904 MB / 0.5343 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.49, allocations: 0 / 0.5343 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.4905, allocations: 53.14 kB / 0.5343 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.528e-05/0.4905, allocations: 24.31 kB / 0.5343 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.4906, allocations: 7.016 kB / 0.5343 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.4917, allocations: 1.236 MB / 0.5355 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.4917, allocations: 3.938 kB / 0.5355 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/0.4926, allocations: 447.9 kB / 0.536 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.4926, allocations: 9.141 kB / 0.536 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.4927, allocations: 10.11 kB / 0.536 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.493, allocations: 10.34 kB / 0.536 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.4931, allocations: 28.94 kB / 0.536 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.4931, allocations: 12.2 kB / 0.536 GB, free: 1.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.214e-05/0.4932, allocations: 84.47 kB / 0.5361 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4932, allocations: 0 / 0.5361 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005537/0.4937, allocations: 134.3 kB / 0.5362 GB, free: 0.9453 MB / 414.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.0007322/0.4945, allocations: 252.1 kB / 0.5365 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006721/0.4951, allocations: 231.4 kB / 0.5367 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4951, allocations: 6.812 kB / 0.5367 GB, free: 0.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.4956, allocations: 222.6 kB / 0.5369 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.496, allocations: 46.78 kB / 0.537 GB, free: 492 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009006/0.4969, allocations: 411.8 kB / 0.5374 GB, free: 164 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.497, allocations: 94.12 kB / 0.5375 GB, free: 76 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002814/0.4973, allocations: 60.02 kB / 0.5375 GB, free: 36 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.4974, allocations: 27.67 kB / 0.5375 GB, free: 20 kB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4974, allocations: 0 / 0.5375 GB, free: 20 kB / 414.1 MB Notification: Performance of Templates: time 0.0139/0.5113, allocations: 6.334 MB / 0.5437 GB, free: 11.25 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.044647444039583]