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.001964/0.001964, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.002228/0.002228, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.623/1.623, allocations: 177.1 MB / 204.7 MB, free: 9.02 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.2067/0.2067, allocations: 34.23 MB / 295.4 MB, free: 14.52 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.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 0.002385/0.002385, allocations: 79.88 kB / 443.1 MB, free: 6.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2882, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1599/0.4481, allocations: 131.4 MB / 0.6255 GB, free: 1.82 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.4495, allocations: 0.9501 MB / 0.6265 GB, free: 0.8672 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.4496, allocations: 0 / 0.6265 GB, free: 0.8672 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.4498, allocations: 39.77 kB / 0.6265 GB, free: 0.8281 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0006832/0.4505, allocations: 270.2 kB / 0.6268 GB, free: 0.5664 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.4509, allocations: 127.6 kB / 0.6269 GB, free: 456 kB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.4511, allocations: 179.2 kB / 0.627 GB, free: 276 kB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.4512, allocations: 4 kB / 0.627 GB, free: 272 kB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.4514, allocations: 103.6 kB / 0.6271 GB, free: 168 kB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.4515, allocations: 59.75 kB / 0.6272 GB, free: 108 kB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.4515, allocations: 4 kB / 0.6272 GB, free: 104 kB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005302/0.452, allocations: 255.8 kB / 0.6275 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.4521, allocations: 27.89 kB / 0.6275 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.4522, allocations: 39.7 kB / 0.6275 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.4526, allocations: 287 kB / 0.6278 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4526, allocations: 0 / 0.6278 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4526, allocations: 0 / 0.6278 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.4526, allocations: 0 / 0.6278 GB, free: 15.51 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005221/0.4532, allocations: 332.9 kB / 0.6281 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.4532, allocations: 8.031 kB / 0.6281 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.4555, allocations: 213.1 kB / 0.6283 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.4559, allocations: 157.7 kB / 0.6285 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.4559, allocations: 4 kB / 0.6285 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.4559, allocations: 12 kB / 0.6285 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.4565, allocations: 297.1 kB / 0.6288 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4565, allocations: 0 / 0.6288 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.4565, allocations: 8 kB / 0.6288 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4565, allocations: 3.938 kB / 0.6288 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.457, allocations: 171.9 kB / 0.6289 GB, free: 14.24 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.001049/0.4581, allocations: 0.5128 MB / 0.6294 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.4584, allocations: 130.5 kB / 0.6296 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.4586, allocations: 69.08 kB / 0.6296 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.4586, allocations: 7.984 kB / 0.6296 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.4586, allocations: 34.56 kB / 0.6297 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.4586, allocations: 0 / 0.6297 GB, free: 13.43 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.005537/0.4642, allocations: 1.157 MB / 0.6308 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.4642, allocations: 51.41 kB / 0.6309 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.4643, allocations: 109.8 kB / 0.631 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.4643, allocations: 33.64 kB / 0.631 GB, free: 12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.4644, allocations: 95.98 kB / 0.6311 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.4645, allocations: 79.38 kB / 0.6312 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.4646, allocations: 53.69 kB / 0.6312 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4647, allocations: 318.8 kB / 0.6315 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.4649, allocations: 71.95 kB / 0.6316 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.4651, allocations: 108.2 kB / 0.6317 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.4655, allocations: 185.3 kB / 0.6319 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4655, allocations: 0 / 0.6319 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005254/0.466, allocations: 258.3 kB / 0.6321 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.466, allocations: 8 kB / 0.6321 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.466, allocations: 0 / 0.6321 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/0.4662, allocations: 48.83 kB / 0.6322 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.4665, allocations: 51.91 kB / 0.6322 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004857/0.467, allocations: 0.5721 MB / 0.6328 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.4672, allocations: 12.12 kB / 0.6328 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.4672, allocations: 31.97 kB / 0.6328 GB, free: 10.05 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.0001287/0.4674, allocations: 117.8 kB / 0.6329 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.4674, allocations: 15.91 kB / 0.6329 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007872/0.4682, allocations: 354.1 kB / 0.6333 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4682, allocations: 4 kB / 0.6333 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4682, allocations: 0 / 0.6333 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4682, allocations: 0 / 0.6333 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.4693, allocations: 0.5516 MB / 0.6338 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4693, allocations: 0 / 0.6338 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.4696, allocations: 63.89 kB / 0.6339 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.75e-05/0.4697, allocations: 16.84 kB / 0.6339 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.4697, allocations: 15.98 kB / 0.6339 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.4708, allocations: 1.241 MB / 0.6351 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4708, allocations: 4 kB / 0.6351 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007432/0.4716, allocations: 430.7 kB / 0.6355 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.4716, allocations: 15.83 kB / 0.6356 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.4716, allocations: 4 kB / 0.6356 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.4718, allocations: 11.98 kB / 0.6356 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.4719, allocations: 20.16 kB / 0.6356 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.4719, allocations: 39.98 kB / 0.6356 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.451e-05/0.472, allocations: 87.27 kB / 0.6357 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.472, allocations: 0 / 0.6357 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004029/0.4724, allocations: 75.94 kB / 0.6358 GB, free: 6.82 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 (21): * Single equations (assignments): 20 * 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.0003454/0.4728, allocations: 155 kB / 0.6359 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005068/0.4733, allocations: 194.6 kB / 0.6361 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4733, allocations: 4 kB / 0.6361 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.4736, allocations: 218.8 kB / 0.6363 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.4741, allocations: 52.06 kB / 0.6364 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008697/0.475, allocations: 0.4886 MB / 0.6369 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.376e-05/0.4751, allocations: 90.11 kB / 0.6369 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003058/0.4754, allocations: 77.45 kB / 0.637 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.4755, allocations: 52.47 kB / 0.6371 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.4755, allocations: 0 / 0.6371 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of Templates: time 0.01038/0.4859, allocations: 5.565 MB / 0.6425 GB, free: 15.89 MB / 0.545 GB " [Timeout remaining time 660] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/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.372016582987271]