Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.002049/0.002049, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002471/0.002471, allocations: 164.8 kB / 24.27 MB, free: 156 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.591/1.591, allocations: 177 MB / 204.5 MB, free: 5.602 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.4293/0.4293, allocations: 34.25 MB / 295.2 MB, free: 0.6406 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.086e-05, allocations: 4.422 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.467/0.467, allocations: 145 MB / 0.5099 GB, free: 17.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.4684, allocations: 1.061 MB / 0.5109 GB, free: 17.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.4685, allocations: 4 kB / 0.5109 GB, free: 17.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.4688, allocations: 26.59 kB / 0.511 GB, free: 17.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007551/0.4696, allocations: 286 kB / 0.5112 GB, free: 17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.47, allocations: 114.5 kB / 0.5114 GB, free: 16.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.4702, allocations: 189.1 kB / 0.5115 GB, free: 16.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.4703, allocations: 4.172 kB / 0.5115 GB, free: 16.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.4706, allocations: 122.2 kB / 0.5117 GB, free: 16.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.4707, allocations: 51.41 kB / 0.5117 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.4707, allocations: 6.312 kB / 0.5117 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005448/0.4712, allocations: 263.9 kB / 0.512 GB, free: 16.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.427e-05/0.4713, allocations: 21.91 kB / 0.512 GB, free: 16.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.799e-05/0.4714, allocations: 39.22 kB / 0.512 GB, free: 16.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005554/0.4719, allocations: 321.2 kB / 0.5123 GB, free: 16.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4719, allocations: 0 / 0.5123 GB, free: 16.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.472, allocations: 0 / 0.5123 GB, free: 16.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.472, allocations: 0 / 0.5123 GB, free: 16.61 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004856/0.4724, allocations: 438.2 kB / 0.5127 GB, free: 16.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4725, allocations: 8.906 kB / 0.5128 GB, free: 16.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.4746, allocations: 212.3 kB / 0.513 GB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.4749, allocations: 156.6 kB / 0.5131 GB, free: 16.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.4749, allocations: 7.562 kB / 0.5131 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.4749, allocations: 13.59 kB / 0.5131 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.4754, allocations: 331.4 kB / 0.5134 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4754, allocations: 0 / 0.5134 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.4755, allocations: 7.125 kB / 0.5134 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4755, allocations: 0 / 0.5134 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.4759, allocations: 193.5 kB / 0.5136 GB, free: 15.73 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.0009802/0.4769, allocations: 0.6535 MB / 0.5143 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.4772, allocations: 153.9 kB / 0.5144 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.4773, allocations: 73.73 kB / 0.5145 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.4774, allocations: 3.469 kB / 0.5145 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.4774, allocations: 38.09 kB / 0.5145 GB, free: 15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.4774, allocations: 0 / 0.5145 GB, free: 15 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.004804/0.4822, allocations: 1.097 MB / 0.5156 GB, free: 14.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.4822, allocations: 57.61 kB / 0.5157 GB, free: 14.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.428e-05/0.4823, allocations: 172 kB / 0.5158 GB, free: 14.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.4823, allocations: 28.73 kB / 0.5158 GB, free: 14.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.4824, allocations: 146.4 kB / 0.516 GB, free: 14.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.4824, allocations: 70.42 kB / 0.5161 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.4825, allocations: 60.86 kB / 0.5161 GB, free: 13.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.4826, allocations: 0.4963 MB / 0.5166 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.4827, allocations: 69.05 kB / 0.5167 GB, free: 13.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.4828, allocations: 113.8 kB / 0.5168 GB, free: 13.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.4831, allocations: 201.3 kB / 0.517 GB, free: 13.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4831, allocations: 0 / 0.517 GB, free: 13.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004248/0.4835, allocations: 258.3 kB / 0.5172 GB, free: 13.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.4836, allocations: 10.44 kB / 0.5172 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4836, allocations: 2.562 kB / 0.5172 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.4838, allocations: 38.88 kB / 0.5173 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.4841, allocations: 48.48 kB / 0.5173 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003191/0.4844, allocations: 0.8195 MB / 0.5181 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.4846, allocations: 6.5 kB / 0.5181 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.4846, allocations: 27.47 kB / 0.5181 GB, free: 12.34 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 9.62e-05/0.4847, allocations: 174.1 kB / 0.5183 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.4847, allocations: 12.83 kB / 0.5183 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/0.4853, allocations: 314.5 kB / 0.5186 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4854, allocations: 2.844 kB / 0.5186 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4854, allocations: 4 kB / 0.5186 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4854, allocations: 7.875 kB / 0.5186 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008283/0.4862, allocations: 0.5923 MB / 0.5192 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.4862, allocations: 7.062 kB / 0.5192 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.4865, allocations: 53.05 kB / 0.5193 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.009e-05/0.4866, allocations: 25.05 kB / 0.5193 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.4866, allocations: 13.73 kB / 0.5193 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006919/0.4873, allocations: 1.771 MB / 0.521 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4873, allocations: 0 / 0.521 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.4879, allocations: 494.3 kB / 0.5215 GB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.4879, allocations: 14.12 kB / 0.5215 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.488, allocations: 7.062 kB / 0.5215 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.4882, allocations: 6 kB / 0.5215 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.4882, allocations: 26.78 kB / 0.5216 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.4883, allocations: 19.81 kB / 0.5216 GB, free: 9.441 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.425e-05/0.4883, allocations: 133.8 kB / 0.5217 GB, free: 9.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4883, allocations: 0 / 0.5217 GB, free: 9.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000414/0.4887, allocations: 81.44 kB / 0.5218 GB, free: 9.305 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 (20): * Single equations (assignments): 19 * 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.0003356/0.489, allocations: 151.7 kB / 0.5219 GB, free: 9.191 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004728/0.4895, allocations: 215.3 kB / 0.5221 GB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4895, allocations: 0 / 0.5221 GB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.4898, allocations: 293.6 kB / 0.5224 GB, free: 8.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.4903, allocations: 52.97 kB / 0.5225 GB, free: 8.906 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008406/0.4911, allocations: 417.7 kB / 0.5229 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.4912, allocations: 88.72 kB / 0.5229 GB, free: 8.539 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.4915, allocations: 61.77 kB / 0.523 GB, free: 8.508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.4917, allocations: 46.28 kB / 0.523 GB, free: 8.492 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4917, allocations: 0 / 0.523 GB, free: 8.492 MB / 410.7 MB Notification: Performance of Templates: time 0.01149/0.5032, allocations: 5.348 MB / 0.5283 GB, free: 8.031 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.78064788703341]