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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002704/0.002704, allocations: 91.61 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00317/0.00317, allocations: 156.9 kB / 24.27 MB, free: 140 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3928/0.3928, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.274e-05, allocations: 4.984 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4639/0.4639, allocations: 145.1 MB / 0.5101 GB, free: 18.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.4659, allocations: 1.626 MB / 0.5117 GB, free: 17.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.082e-05/0.466, allocations: 0 / 0.5117 GB, free: 17.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.4664, allocations: 48.88 kB / 0.5117 GB, free: 17.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.4675, allocations: 420.4 kB / 0.5121 GB, free: 17.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.4681, allocations: 178.5 kB / 0.5123 GB, free: 17.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.4684, allocations: 188 kB / 0.5125 GB, free: 17.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.4684, allocations: 3.406 kB / 0.5125 GB, free: 17.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.4687, allocations: 102.4 kB / 0.5126 GB, free: 16.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.4688, allocations: 55.88 kB / 0.5126 GB, free: 16.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.4688, allocations: 10.42 kB / 0.5127 GB, free: 16.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.4699, allocations: 0.5477 MB / 0.5132 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.4699, allocations: 32.34 kB / 0.5132 GB, free: 16.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.422e-05/0.47, allocations: 38.61 kB / 0.5133 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007272/0.4707, allocations: 454.4 kB / 0.5137 GB, free: 16.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.4707, allocations: 0 / 0.5137 GB, free: 16.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4707, allocations: 0 / 0.5137 GB, free: 16.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.4707, allocations: 0 / 0.5137 GB, free: 16.62 MB / 410.7 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.0005297/0.4713, allocations: 467.2 kB / 0.5141 GB, free: 16.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4713, allocations: 11.41 kB / 0.5141 GB, free: 16.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.4735, allocations: 213.6 kB / 0.5144 GB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.4738, allocations: 153.3 kB / 0.5145 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4738, allocations: 12 kB / 0.5145 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.4738, allocations: 17.38 kB / 0.5145 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.4743, allocations: 277.6 kB / 0.5148 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4743, allocations: 0 / 0.5148 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.4743, allocations: 3.25 kB / 0.5148 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4743, allocations: 0.9375 kB / 0.5148 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.4749, allocations: 244.3 kB / 0.515 GB, free: 15.76 MB / 410.7 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.001672/0.4765, allocations: 0.5938 MB / 0.5156 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.4769, allocations: 214.3 kB / 0.5158 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.4771, allocations: 113.1 kB / 0.5159 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.4772, allocations: 14.75 kB / 0.5159 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.4772, allocations: 35.98 kB / 0.516 GB, free: 15.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.4773, allocations: 0 / 0.516 GB, free: 15.16 MB / 410.7 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.005362/0.4826, allocations: 1.418 MB / 0.5174 GB, free: 14.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.4826, allocations: 54.66 kB / 0.5174 GB, free: 14.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.4827, allocations: 179 kB / 0.5176 GB, free: 14.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.4828, allocations: 29.7 kB / 0.5176 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.4828, allocations: 149.7 kB / 0.5177 GB, free: 14.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.4829, allocations: 73.31 kB / 0.5178 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.4829, allocations: 51.58 kB / 0.5179 GB, free: 13.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4831, allocations: 0.4976 MB / 0.5184 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.4832, allocations: 101.5 kB / 0.5184 GB, free: 13.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.4835, allocations: 149.5 kB / 0.5186 GB, free: 13.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.4838, allocations: 252.2 kB / 0.5188 GB, free: 13.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4839, allocations: 0 / 0.5188 GB, free: 13.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005715/0.4844, allocations: 315.3 kB / 0.5191 GB, free: 13.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4844, allocations: 6.406 kB / 0.5191 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4844, allocations: 4 kB / 0.5191 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.4846, allocations: 31.17 kB / 0.5192 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.485, allocations: 58.11 kB / 0.5192 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003175/0.4854, allocations: 0.8094 MB / 0.52 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.4856, allocations: 9.625 kB / 0.52 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.4857, allocations: 10.16 kB / 0.52 GB, free: 12.25 MB / 410.7 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.0001053/0.4858, allocations: 176.5 kB / 0.5202 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.228e-05/0.4859, allocations: 16.98 kB / 0.5202 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006999/0.4866, allocations: 334 kB / 0.5205 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4866, allocations: 3.062 kB / 0.5205 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4866, allocations: 0 / 0.5205 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4866, allocations: 1.5 kB / 0.5205 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/0.4875, allocations: 0.6867 MB / 0.5212 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4876, allocations: 0 / 0.5212 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.488, allocations: 48.7 kB / 0.5213 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.726e-05/0.4881, allocations: 29.05 kB / 0.5213 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.4881, allocations: 13.59 kB / 0.5213 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000673/0.4888, allocations: 1.768 MB / 0.523 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4888, allocations: 2.906 kB / 0.523 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000768/0.4896, allocations: 0.5429 MB / 0.5236 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.4896, allocations: 16.48 kB / 0.5236 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.4896, allocations: 6.844 kB / 0.5236 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.49, allocations: 9.797 kB / 0.5236 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.49, allocations: 20.11 kB / 0.5236 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.49, allocations: 16 kB / 0.5236 GB, free: 9.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.436e-05/0.4901, allocations: 133.8 kB / 0.5238 GB, free: 9.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4901, allocations: 0 / 0.5238 GB, free: 9.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005902/0.4907, allocations: 135.8 kB / 0.5239 GB, free: 9.121 MB / 410.7 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.0006509/0.4913, allocations: 265.7 kB / 0.5241 GB, free: 8.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005914/0.4919, allocations: 264.1 kB / 0.5244 GB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4919, allocations: 0 / 0.5244 GB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.4923, allocations: 310.6 kB / 0.5247 GB, free: 8.688 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.4927, allocations: 52.05 kB / 0.5247 GB, free: 8.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.4934, allocations: 421.2 kB / 0.5251 GB, free: 8.367 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.197e-05/0.4935, allocations: 91.25 kB / 0.5252 GB, free: 8.293 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.4938, allocations: 58.06 kB / 0.5253 GB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.4939, allocations: 24.62 kB / 0.5253 GB, free: 8.25 MB / 410.7 MB Notification: Performance of SimCode: time 5.92e-07/0.4939, allocations: 4 kB / 0.5253 GB, free: 8.246 MB / 410.7 MB Notification: Performance of Templates: time 0.0111/0.505, allocations: 6.416 MB / 0.5316 GB, free: 7.516 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.94428562396206]