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.002035/0.002035, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002488/0.002488, allocations: 161.7 kB / 24.27 MB, free: 168 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.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.402/0.402, allocations: 34.26 MB / 295.3 MB, free: 0.6914 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 2.264e-06/2.264e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.408e-05/5.635e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3796/0.3796, allocations: 131.9 MB / 0.4972 GB, free: 25.01 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003843/0.3835, allocations: 2.915 MB / 0.5 GB, free: 23.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.3837, allocations: 1.25 kB / 0.5 GB, free: 23.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.3841, allocations: 65.28 kB / 0.5001 GB, free: 23.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003523/0.3876, allocations: 1.119 MB / 0.5012 GB, free: 22.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.3882, allocations: 198.8 kB / 0.5014 GB, free: 22.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005934/0.3888, allocations: 370.1 kB / 0.5017 GB, free: 22.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.3889, allocations: 6.75 kB / 0.5017 GB, free: 22.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00059/0.3895, allocations: 209.3 kB / 0.5019 GB, free: 22.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.3897, allocations: 108.4 kB / 0.502 GB, free: 22.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.3898, allocations: 12.91 kB / 0.502 GB, free: 22.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.393, allocations: 1.36 MB / 0.5034 GB, free: 21.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.3932, allocations: 86.66 kB / 0.5035 GB, free: 21.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.3934, allocations: 89.83 kB / 0.5035 GB, free: 21.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.396, allocations: 1.086 MB / 0.5046 GB, free: 21.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.396, allocations: 0 / 0.5046 GB, free: 21.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.396, allocations: 0 / 0.5046 GB, free: 21.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.396, allocations: 0 / 0.5046 GB, free: 21.35 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.001268/0.3972, allocations: 0.4928 MB / 0.5051 GB, free: 20.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3973, allocations: 9.094 kB / 0.5051 GB, free: 20.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.399, allocations: 279.6 kB / 0.5054 GB, free: 20.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.3993, allocations: 186.6 kB / 0.5055 GB, free: 20.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.3994, allocations: 13 kB / 0.5055 GB, free: 20.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.412e-05/0.3994, allocations: 24.3 kB / 0.5056 GB, free: 20.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.4001, allocations: 0.5915 MB / 0.5061 GB, free: 20.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4001, allocations: 5.562 kB / 0.5062 GB, free: 20.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.4002, allocations: 5.406 kB / 0.5062 GB, free: 20.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.4002, allocations: 12.39 kB / 0.5062 GB, free: 20.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006464/0.4009, allocations: 422.5 kB / 0.5066 GB, free: 20.21 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.001733/0.4026, allocations: 0.7173 MB / 0.5073 GB, free: 19.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.403, allocations: 215.5 kB / 0.5075 GB, free: 19.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.4032, allocations: 120.8 kB / 0.5076 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/0.4048, allocations: 326.4 kB / 0.5079 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4048, allocations: 34.19 kB / 0.5079 GB, free: 19.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.374e-06/0.4048, allocations: 0 / 0.5079 GB, free: 19.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001274/0.4061, allocations: 410 kB / 0.5083 GB, free: 19.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.4061, allocations: 81.92 kB / 0.5084 GB, free: 19.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.4062, allocations: 124.6 kB / 0.5085 GB, free: 19.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.4063, allocations: 31.33 kB / 0.5086 GB, free: 19.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.4063, allocations: 113.7 kB / 0.5087 GB, free: 19.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.4064, allocations: 122 kB / 0.5088 GB, free: 18.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.934e-05/0.4065, allocations: 62.84 kB / 0.5088 GB, free: 18.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.4066, allocations: 327.1 kB / 0.5092 GB, free: 18.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.4068, allocations: 99.77 kB / 0.5092 GB, free: 18.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.407, allocations: 190 kB / 0.5094 GB, free: 18.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.4074, allocations: 311.3 kB / 0.5097 GB, free: 18.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4074, allocations: 3.938 kB / 0.5097 GB, free: 18.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006522/0.408, allocations: 386.2 kB / 0.5101 GB, free: 18.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4081, allocations: 9 kB / 0.5101 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4081, allocations: 2.562 kB / 0.5101 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.4081, allocations: 5.781 kB / 0.5101 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.4084, allocations: 68.58 kB / 0.5102 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4084, allocations: 7.844 kB / 0.5102 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.4087, allocations: 24.19 kB / 0.5102 GB, free: 18.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.4087, allocations: 23.62 kB / 0.5102 GB, free: 18 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.0001218/0.4089, allocations: 146 kB / 0.5104 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.409, allocations: 31.91 kB / 0.5104 GB, free: 17.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000639/0.4096, allocations: 335.7 kB / 0.5107 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.4096, allocations: 8.156 kB / 0.5107 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4096, allocations: 0 / 0.5107 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4096, allocations: 4.812 kB / 0.5107 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.4101, allocations: 241.3 kB / 0.511 GB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4101, allocations: 3.938 kB / 0.511 GB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.4105, allocations: 56.72 kB / 0.511 GB, free: 17.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.4105, allocations: 2.906 kB / 0.511 GB, free: 17.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.4105, allocations: 22.34 kB / 0.511 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4105, allocations: 1.406 kB / 0.511 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4105, allocations: 3 kB / 0.5111 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007418/0.4113, allocations: 0.5295 MB / 0.5116 GB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.4113, allocations: 22.97 kB / 0.5116 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.4113, allocations: 10.91 kB / 0.5116 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.4117, allocations: 16.44 kB / 0.5116 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.4117, allocations: 18.44 kB / 0.5116 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.4118, allocations: 21.56 kB / 0.5117 GB, free: 17.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.014e-05/0.4118, allocations: 97.39 kB / 0.5117 GB, free: 17.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4118, allocations: 0 / 0.5117 GB, free: 17.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001386/0.4132, allocations: 232.9 kB / 0.512 GB, free: 17 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.002179/0.4154, allocations: 470.3 kB / 0.5124 GB, free: 16.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.4161, allocations: 266.5 kB / 0.5127 GB, free: 16.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4161, allocations: 0 / 0.5127 GB, free: 16.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.4163, allocations: 132.2 kB / 0.5128 GB, free: 16.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4174, allocations: 97.59 kB / 0.5129 GB, free: 16.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.4188, allocations: 0.5921 MB / 0.5135 GB, free: 16.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.419, allocations: 123.6 kB / 0.5136 GB, free: 16.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000502/0.4195, allocations: 80.78 kB / 0.5137 GB, free: 16.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.4196, allocations: 33.09 kB / 0.5137 GB, free: 16.14 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4196, allocations: 4 kB / 0.5137 GB, free: 16.14 MB / 410.7 MB Notification: Performance of Templates: time 0.0205/0.4401, allocations: 8.736 MB / 0.5222 GB, free: 14.22 MB / 410.7 MB " [Timeout remaining time 660] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] 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: 5.890575093915686]