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.002091/0.002091, allocations: 77.78 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001898/0.001898, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 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.447/1.447, allocations: 177.1 MB / 204.7 MB, free: 8.98 MB / 190.1 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.214/0.214, allocations: 34.26 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002507/0.002507, allocations: 79.88 kB / 443.1 MB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2938, allocations: 66.05 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.161/0.4549, allocations: 131.5 MB / 0.6257 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.4569, allocations: 1.441 MB / 0.6271 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.457, allocations: 0 / 0.6271 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.4573, allocations: 43.75 kB / 0.6271 GB, free: 168 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.4583, allocations: 417.7 kB / 0.6275 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.4588, allocations: 167.4 kB / 0.6277 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.4591, allocations: 187.2 kB / 0.6279 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.4592, allocations: 4 kB / 0.6279 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.4593, allocations: 91.62 kB / 0.628 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.4595, allocations: 59.75 kB / 0.628 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.4595, allocations: 4 kB / 0.628 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.4606, allocations: 0.5417 MB / 0.6286 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.026e-05/0.4607, allocations: 35.83 kB / 0.6286 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.461e-05/0.4607, allocations: 43.86 kB / 0.6286 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00068/0.4614, allocations: 398.6 kB / 0.629 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4614, allocations: 4 kB / 0.629 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4614, allocations: 0 / 0.629 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.4614, allocations: 0 / 0.629 GB, free: 14.24 MB / 0.5294 GB 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.0006136/0.462, allocations: 368.5 kB / 0.6294 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4621, allocations: 8.031 kB / 0.6294 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/0.4645, allocations: 209.1 kB / 0.6296 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.4648, allocations: 154 kB / 0.6297 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.4649, allocations: 11.88 kB / 0.6297 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.4649, allocations: 12 kB / 0.6297 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.4655, allocations: 284.8 kB / 0.63 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4655, allocations: 0 / 0.63 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.4655, allocations: 8 kB / 0.63 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.4655, allocations: 3.938 kB / 0.63 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.4661, allocations: 227.9 kB / 0.6302 GB, free: 12.91 MB / 0.5294 GB 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.001823/0.468, allocations: 0.5449 MB / 0.6308 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.4684, allocations: 186.5 kB / 0.631 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.4687, allocations: 92.81 kB / 0.631 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.4688, allocations: 11.98 kB / 0.6311 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.4688, allocations: 30.56 kB / 0.6311 GB, free: 12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.4688, allocations: 4 kB / 0.6311 GB, free: 11.99 MB / 0.5294 GB 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.006265/0.4751, allocations: 1.395 MB / 0.6325 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.4751, allocations: 55.41 kB / 0.6325 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.4752, allocations: 109.8 kB / 0.6326 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.4753, allocations: 33.7 kB / 0.6326 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.4754, allocations: 104.3 kB / 0.6327 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/0.4754, allocations: 67.38 kB / 0.6328 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.4755, allocations: 49.64 kB / 0.6329 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4757, allocations: 314.8 kB / 0.6332 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.4759, allocations: 87.95 kB / 0.6332 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.4762, allocations: 123.4 kB / 0.6334 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.4767, allocations: 232.6 kB / 0.6336 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4767, allocations: 0 / 0.6336 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006647/0.4774, allocations: 281.5 kB / 0.6338 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4774, allocations: 4 kB / 0.6338 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4774, allocations: 0 / 0.6338 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.4775, allocations: 32.88 kB / 0.6339 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.478, allocations: 63.89 kB / 0.6339 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004173/0.4785, allocations: 0.5329 MB / 0.6345 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.4788, allocations: 11.95 kB / 0.6345 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.4788, allocations: 15.94 kB / 0.6345 GB, free: 8.328 MB / 0.5294 GB 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.000144/0.479, allocations: 125.8 kB / 0.6346 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.479, allocations: 8.047 kB / 0.6346 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008089/0.4798, allocations: 319.3 kB / 0.6349 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4798, allocations: 3.938 kB / 0.6349 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4799, allocations: 0 / 0.6349 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4799, allocations: 4 kB / 0.6349 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.4811, allocations: 0.582 MB / 0.6355 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4811, allocations: 0 / 0.6355 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.4816, allocations: 47.95 kB / 0.6355 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.187e-05/0.4817, allocations: 24.78 kB / 0.6356 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.4817, allocations: 15.92 kB / 0.6356 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.4828, allocations: 1.241 MB / 0.6368 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.4828, allocations: 7.969 kB / 0.6368 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/0.4837, allocations: 442.2 kB / 0.6372 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.4837, allocations: 16.19 kB / 0.6372 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.4838, allocations: 11.94 kB / 0.6372 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.4841, allocations: 11.94 kB / 0.6373 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.4842, allocations: 15.97 kB / 0.6373 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.4842, allocations: 11.98 kB / 0.6373 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.406e-05/0.4843, allocations: 87.27 kB / 0.6374 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.4843, allocations: 0 / 0.6374 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005516/0.4848, allocations: 135.7 kB / 0.6375 GB, free: 5.047 MB / 0.5294 GB 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.0006338/0.4854, allocations: 258.7 kB / 0.6377 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006493/0.4861, allocations: 235.8 kB / 0.638 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4861, allocations: 4 kB / 0.638 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.4865, allocations: 222.6 kB / 0.6382 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.487, allocations: 53.73 kB / 0.6382 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009306/0.4879, allocations: 484.5 kB / 0.6387 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.488, allocations: 90.09 kB / 0.6388 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000284/0.4883, allocations: 53.67 kB / 0.6388 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.4884, allocations: 24.48 kB / 0.6389 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.4884, allocations: 3.938 kB / 0.6389 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.01157/0.5, allocations: 6.311 MB / 0.645 GB, free: 13.28 MB / 0.545 GB " [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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.282962508033961]