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.001887/0.001887, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.002027/0.002027, allocations: 160.8 kB / 24.27 MB, free: 152 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.622/1.622, allocations: 177 MB / 204.4 MB, free: 5.613 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.4029/0.4029, allocations: 34.25 MB / 295.2 MB, free: 0.6367 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.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 1.833e-06/1.833e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.492e-05, allocations: 4.422 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4768/0.4769, allocations: 145.5 MB / 0.5104 GB, free: 18.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.4811, allocations: 3.306 MB / 0.5137 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.4813, allocations: 0 / 0.5137 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.4819, allocations: 66.58 kB / 0.5137 GB, free: 15.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00425/0.4861, allocations: 1.119 MB / 0.5148 GB, free: 15.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.4868, allocations: 207.4 kB / 0.515 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005167/0.4873, allocations: 367.5 kB / 0.5154 GB, free: 15.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.4874, allocations: 7.641 kB / 0.5154 GB, free: 15.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000364/0.4877, allocations: 211.4 kB / 0.5156 GB, free: 15.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.4879, allocations: 109 kB / 0.5157 GB, free: 15.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.488, allocations: 11.5 kB / 0.5157 GB, free: 15.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.4908, allocations: 1.361 MB / 0.517 GB, free: 14.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.4909, allocations: 86.16 kB / 0.5171 GB, free: 14.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.491, allocations: 85.03 kB / 0.5172 GB, free: 14.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.4929, allocations: 1.081 MB / 0.5182 GB, free: 14.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4929, allocations: 0 / 0.5182 GB, free: 14.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4929, allocations: 0 / 0.5182 GB, free: 14.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.4929, allocations: 0 / 0.5182 GB, free: 14.24 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008239/0.4937, allocations: 0.5867 MB / 0.5188 GB, free: 13.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4938, allocations: 12.97 kB / 0.5188 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.4953, allocations: 275.9 kB / 0.5191 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.4956, allocations: 187.1 kB / 0.5193 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.4957, allocations: 16.84 kB / 0.5193 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/0.4957, allocations: 21.56 kB / 0.5193 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.4963, allocations: 0.4992 MB / 0.5198 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4963, allocations: 4 kB / 0.5198 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.4963, allocations: 6.469 kB / 0.5198 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.4963, allocations: 11.02 kB / 0.5198 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.4968, allocations: 267 kB / 0.5201 GB, free: 13.1 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.001597/0.4984, allocations: 0.7961 MB / 0.5208 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.4988, allocations: 213.7 kB / 0.521 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.499, allocations: 109.4 kB / 0.5212 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/0.5005, allocations: 308.2 kB / 0.5214 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.5005, allocations: 42.89 kB / 0.5215 GB, free: 12.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/0.5005, allocations: 0 / 0.5215 GB, free: 12.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.00124/0.5017, allocations: 370.5 kB / 0.5218 GB, free: 12.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.5018, allocations: 80.23 kB / 0.5219 GB, free: 12.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.5019, allocations: 185.3 kB / 0.5221 GB, free: 11.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.5019, allocations: 29.7 kB / 0.5221 GB, free: 11.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.502, allocations: 159.4 kB / 0.5223 GB, free: 11.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.628e-05/0.502, allocations: 129.8 kB / 0.5224 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.5021, allocations: 72.33 kB / 0.5225 GB, free: 11.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5022, allocations: 0.5025 MB / 0.523 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.5024, allocations: 90.02 kB / 0.523 GB, free: 11.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.5026, allocations: 211 kB / 0.5232 GB, free: 10.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.503, allocations: 328.5 kB / 0.5236 GB, free: 10.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.503, allocations: 0 / 0.5236 GB, free: 10.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005612/0.5036, allocations: 352.1 kB / 0.5239 GB, free: 10.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5036, allocations: 13.69 kB / 0.5239 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.609e-06/0.5036, allocations: 2.406 kB / 0.5239 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.5036, allocations: 5.875 kB / 0.5239 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.504, allocations: 74.11 kB / 0.524 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.504, allocations: 8.703 kB / 0.524 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.5042, allocations: 28.16 kB / 0.524 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.5042, allocations: 20.59 kB / 0.524 GB, free: 10.47 MB / 410.7 MB 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.0001303/0.5044, allocations: 180.7 kB / 0.5242 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.5045, allocations: 34.16 kB / 0.5242 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006105/0.5051, allocations: 319.9 kB / 0.5246 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.5051, allocations: 5.781 kB / 0.5246 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5051, allocations: 4 kB / 0.5246 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.5051, allocations: 2.391 kB / 0.5246 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.5056, allocations: 250.9 kB / 0.5248 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5056, allocations: 3.344 kB / 0.5248 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.5059, allocations: 52.69 kB / 0.5249 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.5059, allocations: 2.906 kB / 0.5249 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.506, allocations: 13.69 kB / 0.5249 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.506, allocations: 2.844 kB / 0.5249 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.506, allocations: 0 / 0.5249 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/0.5067, allocations: 0.6198 MB / 0.5255 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.5067, allocations: 17.55 kB / 0.5255 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.5067, allocations: 10.69 kB / 0.5255 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.5071, allocations: 12.36 kB / 0.5255 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.5071, allocations: 27.89 kB / 0.5255 GB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.5072, allocations: 26.33 kB / 0.5256 GB, free: 9.492 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.359e-05/0.5072, allocations: 131.4 kB / 0.5257 GB, free: 9.371 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5072, allocations: 0 / 0.5257 GB, free: 9.371 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001174/0.5084, allocations: 240.3 kB / 0.5259 GB, free: 9.316 MB / 410.7 MB 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.001019/0.5094, allocations: 461.2 kB / 0.5264 GB, free: 9.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005046/0.5099, allocations: 266.1 kB / 0.5266 GB, free: 9.062 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5099, allocations: 0.625 kB / 0.5266 GB, free: 9.062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.5101, allocations: 141.4 kB / 0.5268 GB, free: 9.016 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006851/0.5108, allocations: 97.64 kB / 0.5268 GB, free: 8.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009035/0.5117, allocations: 0.6073 MB / 0.5274 GB, free: 8.547 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.5118, allocations: 117.2 kB / 0.5276 GB, free: 8.473 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003028/0.5121, allocations: 75.19 kB / 0.5276 GB, free: 8.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.5122, allocations: 39.2 kB / 0.5277 GB, free: 8.426 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5122, allocations: 0 / 0.5277 GB, free: 8.426 MB / 410.7 MB Notification: Performance of Templates: time 0.01596/0.5282, allocations: 8.775 MB / 0.5362 GB, free: 5.664 MB / 410.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/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: 6.177221924997866]