Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002572/0.002572, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002924/0.002924, allocations: 165.3 kB / 24.28 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.62/1.62, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3996/0.3996, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 377.3 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.317e-05, allocations: 2.312 kB / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.461/0.4611, allocations: 145.5 MB / 0.5105 GB, free: 18.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004736/0.4658, allocations: 3.308 MB / 0.5137 GB, free: 16.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.4659, allocations: 0 / 0.5137 GB, free: 16.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.4663, allocations: 58.41 kB / 0.5138 GB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002772/0.4691, allocations: 1.126 MB / 0.5149 GB, free: 15.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.4696, allocations: 199.7 kB / 0.5151 GB, free: 15.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004278/0.4701, allocations: 370.2 kB / 0.5154 GB, free: 15.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.082e-05/0.4701, allocations: 11.81 kB / 0.5154 GB, free: 15.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003486/0.4705, allocations: 212.7 kB / 0.5156 GB, free: 15.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.4707, allocations: 112.4 kB / 0.5157 GB, free: 15.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.4707, allocations: 12.06 kB / 0.5158 GB, free: 15.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.4731, allocations: 1.354 MB / 0.5171 GB, free: 14.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.4732, allocations: 88.73 kB / 0.5172 GB, free: 14.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.4733, allocations: 84.16 kB / 0.5172 GB, free: 14.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.4748, allocations: 1.085 MB / 0.5183 GB, free: 14.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4748, allocations: 0 / 0.5183 GB, free: 14.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4748, allocations: 0 / 0.5183 GB, free: 14.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.4748, allocations: 0 / 0.5183 GB, free: 14.38 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.0008914/0.4757, allocations: 0.5941 MB / 0.5189 GB, free: 13.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4758, allocations: 9.562 kB / 0.5189 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.4773, allocations: 276.3 kB / 0.5192 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.4777, allocations: 188.3 kB / 0.5193 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.4777, allocations: 14.75 kB / 0.5194 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.528e-05/0.4778, allocations: 24.59 kB / 0.5194 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006243/0.4784, allocations: 0.4893 MB / 0.5199 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4784, allocations: 2.562 kB / 0.5199 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.4785, allocations: 11.16 kB / 0.5199 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.4785, allocations: 8.156 kB / 0.5199 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.479, allocations: 263.8 kB / 0.5201 GB, free: 13.23 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.001724/0.4807, allocations: 0.8037 MB / 0.5209 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.4811, allocations: 210 kB / 0.5211 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.4813, allocations: 108.8 kB / 0.5212 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/0.4828, allocations: 299.1 kB / 0.5215 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.4829, allocations: 47.8 kB / 0.5215 GB, free: 12.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 3.136e-06/0.4829, allocations: 3.984 kB / 0.5216 GB, free: 12.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001204/0.4841, allocations: 378.2 kB / 0.5219 GB, free: 12.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.4841, allocations: 84.11 kB / 0.522 GB, free: 12.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.4842, allocations: 184.9 kB / 0.5222 GB, free: 12.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.4842, allocations: 32.58 kB / 0.5222 GB, free: 11.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.4843, allocations: 161.4 kB / 0.5224 GB, free: 11.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.488e-05/0.4844, allocations: 116.5 kB / 0.5225 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.4845, allocations: 75.77 kB / 0.5225 GB, free: 11.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4846, allocations: 0.4985 MB / 0.523 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.4848, allocations: 90.11 kB / 0.5231 GB, free: 11.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.485, allocations: 210.8 kB / 0.5233 GB, free: 11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.4854, allocations: 327.6 kB / 0.5236 GB, free: 10.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4854, allocations: 0 / 0.5236 GB, free: 10.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005543/0.4859, allocations: 356.5 kB / 0.524 GB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4859, allocations: 12.03 kB / 0.524 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.486, allocations: 6.125 kB / 0.524 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.486, allocations: 2.438 kB / 0.524 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.4863, allocations: 68.39 kB / 0.524 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.4863, allocations: 9.312 kB / 0.5241 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.4866, allocations: 32.73 kB / 0.5241 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.4866, allocations: 17.39 kB / 0.5241 GB, free: 10.6 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.0001205/0.4867, allocations: 176.6 kB / 0.5243 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4869, allocations: 43.64 kB / 0.5243 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006213/0.4875, allocations: 315.3 kB / 0.5246 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.4875, allocations: 3.094 kB / 0.5246 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4875, allocations: 0 / 0.5246 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.4875, allocations: 4.969 kB / 0.5246 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.488, allocations: 245.7 kB / 0.5249 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.488, allocations: 4.875 kB / 0.5249 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.4883, allocations: 61.75 kB / 0.5249 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4883, allocations: 2.875 kB / 0.5249 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.4883, allocations: 13.88 kB / 0.5249 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4884, allocations: 0 / 0.5249 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4884, allocations: 2.562 kB / 0.5249 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007671/0.4891, allocations: 0.6261 MB / 0.5256 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.4891, allocations: 17.61 kB / 0.5256 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.4892, allocations: 7.938 kB / 0.5256 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.4895, allocations: 14.14 kB / 0.5256 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.4895, allocations: 17.56 kB / 0.5256 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.4896, allocations: 22.52 kB / 0.5256 GB, free: 9.625 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.774e-05/0.4896, allocations: 138 kB / 0.5258 GB, free: 9.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.4896, allocations: 0 / 0.5258 GB, free: 9.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001006/0.4906, allocations: 236.8 kB / 0.526 GB, free: 9.449 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.001115/0.4917, allocations: 477.2 kB / 0.5264 GB, free: 9.258 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005683/0.4923, allocations: 260.8 kB / 0.5267 GB, free: 9.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4923, allocations: 0 / 0.5267 GB, free: 9.188 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.4925, allocations: 141.4 kB / 0.5268 GB, free: 9.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.4933, allocations: 97.27 kB / 0.5269 GB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.4944, allocations: 0.593 MB / 0.5275 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.4945, allocations: 126 kB / 0.5276 GB, free: 8.609 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002909/0.4948, allocations: 69.78 kB / 0.5277 GB, free: 8.582 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.4949, allocations: 35.08 kB / 0.5277 GB, free: 8.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/0.4949, allocations: 4 kB / 0.5277 GB, free: 8.566 MB / 410.7 MB Notification: Performance of Templates: time 0.0173/0.5122, allocations: 8.785 MB / 0.5363 GB, free: 5.809 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.004568737000227]