Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.001759/0.001759, allocations: 79.73 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.002318/0.002318, allocations: 164.5 kB / 24.5 MB, free: 3.449 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.681/1.681, allocations: 177.1 MB / 204.7 MB, free: 9.004 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.218/0.218, allocations: 34.25 MB / 295.4 MB, free: 14.48 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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 84.16 kB / 443.1 MB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3247, allocations: 66.06 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1604/0.4851, allocations: 131.8 MB / 0.626 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003878/0.489, allocations: 2.924 MB / 0.6288 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.489, allocations: 0 / 0.6288 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.4894, allocations: 55.66 kB / 0.6289 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.4918, allocations: 1.089 MB / 0.63 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.4924, allocations: 207.2 kB / 0.6302 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004436/0.4928, allocations: 370.6 kB / 0.6305 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.4929, allocations: 17.23 kB / 0.6305 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.4931, allocations: 163.5 kB / 0.6307 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.4933, allocations: 119.5 kB / 0.6308 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.4934, allocations: 16 kB / 0.6308 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.4958, allocations: 1.332 MB / 0.6321 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.4959, allocations: 83.77 kB / 0.6322 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.4961, allocations: 95.7 kB / 0.6323 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.4975, allocations: 0.9817 MB / 0.6332 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4975, allocations: 0 / 0.6332 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4975, allocations: 0 / 0.6332 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.4975, allocations: 7.875 kB / 0.6332 GB, free: 9.879 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008653/0.4984, allocations: 489.2 kB / 0.6337 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.4984, allocations: 8.031 kB / 0.6337 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.4999, allocations: 212.6 kB / 0.6339 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.5002, allocations: 202 kB / 0.6341 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.5003, allocations: 12.38 kB / 0.6341 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.5003, allocations: 20 kB / 0.6342 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007411/0.5011, allocations: 0.5841 MB / 0.6347 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.5011, allocations: 0 / 0.6347 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.5011, allocations: 8 kB / 0.6347 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.5011, allocations: 11.98 kB / 0.6347 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/0.5018, allocations: 424.4 kB / 0.6351 GB, free: 7.82 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.001682/0.5034, allocations: 0.7164 MB / 0.6358 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.5039, allocations: 229 kB / 0.6361 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.5041, allocations: 119.7 kB / 0.6362 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/0.5056, allocations: 313.8 kB / 0.6365 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.5057, allocations: 42.55 kB / 0.6365 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.5057, allocations: 0 / 0.6365 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001269/0.5069, allocations: 378.4 kB / 0.6369 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.507, allocations: 81.11 kB / 0.637 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.5071, allocations: 113.8 kB / 0.6371 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.5071, allocations: 37.64 kB / 0.6371 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.5072, allocations: 112.6 kB / 0.6372 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.5073, allocations: 123 kB / 0.6373 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.5074, allocations: 62.02 kB / 0.6374 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5075, allocations: 326.8 kB / 0.6377 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.5078, allocations: 108 kB / 0.6378 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.508, allocations: 186.9 kB / 0.638 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/0.5086, allocations: 316.6 kB / 0.6383 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5086, allocations: 3.938 kB / 0.6383 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006734/0.5092, allocations: 357.3 kB / 0.6386 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.5092, allocations: 11.94 kB / 0.6386 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5093, allocations: 4 kB / 0.6386 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.5093, allocations: 4 kB / 0.6386 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.5096, allocations: 71.91 kB / 0.6387 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.5096, allocations: 8.297 kB / 0.6387 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.5099, allocations: 27.78 kB / 0.6387 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.5099, allocations: 16 kB / 0.6388 GB, free: 3.914 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.5101, allocations: 149.8 kB / 0.6389 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.5102, allocations: 23.91 kB / 0.6389 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007389/0.5109, allocations: 337.5 kB / 0.6392 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.5109, allocations: 7.984 kB / 0.6393 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5109, allocations: 4 kB / 0.6393 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.511, allocations: 0 / 0.6393 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.5115, allocations: 247 kB / 0.6395 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5115, allocations: 0 / 0.6395 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.5119, allocations: 59.95 kB / 0.6396 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5119, allocations: 0 / 0.6396 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.5119, allocations: 11.94 kB / 0.6396 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5119, allocations: 0 / 0.6396 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5119, allocations: 4 kB / 0.6396 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008542/0.5128, allocations: 0.5265 MB / 0.6401 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.5128, allocations: 15.89 kB / 0.6401 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.5128, allocations: 8.062 kB / 0.6401 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.5132, allocations: 11.98 kB / 0.6401 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.5132, allocations: 23.95 kB / 0.6401 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.5132, allocations: 15.98 kB / 0.6402 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.917e-05/0.5133, allocations: 91.27 kB / 0.6402 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5133, allocations: 0 / 0.6402 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007854/0.5141, allocations: 239.3 kB / 0.6405 GB, free: 2.105 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.5151, allocations: 458.2 kB / 0.6409 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006029/0.5157, allocations: 263.7 kB / 0.6412 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5157, allocations: 0 / 0.6412 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.516, allocations: 135.8 kB / 0.6413 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006781/0.5166, allocations: 87.39 kB / 0.6414 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.5179, allocations: 0.747 MB / 0.6421 GB, free: 408 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.518, allocations: 119.9 kB / 0.6422 GB, free: 268 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003056/0.5183, allocations: 81.77 kB / 0.6423 GB, free: 184 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.5184, allocations: 36.48 kB / 0.6423 GB, free: 148 kB / 0.5294 GB Notification: Performance of SimCode: time 4.3e-07/0.5184, allocations: 0 / 0.6423 GB, free: 148 kB / 0.5294 GB Notification: Performance of Templates: time 0.01562/0.534, allocations: 8.61 MB / 0.6507 GB, free: 7.613 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.766169473063201]