Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001013/0.001013, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.0009678/0.0009678, allocations: 165 kB / 24.56 MB, free: 16 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 0.9638/0.9638, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2541/0.2541, allocations: 32.8 MB / 294.3 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_4.0.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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.093e-05, allocations: 2.312 kB / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3669/0.367, allocations: 145.8 MB / 0.5096 GB, free: 20.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003092/0.37, allocations: 3.188 MB / 0.5127 GB, free: 18.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.3702, allocations: 0 / 0.5127 GB, free: 18.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.3706, allocations: 60.62 kB / 0.5127 GB, free: 18.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.3734, allocations: 1.089 MB / 0.5138 GB, free: 17.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.3739, allocations: 199.5 kB / 0.514 GB, free: 17.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.3744, allocations: 361.8 kB / 0.5143 GB, free: 17.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.3744, allocations: 7.891 kB / 0.5143 GB, free: 17.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003507/0.3748, allocations: 206.3 kB / 0.5145 GB, free: 17.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.375, allocations: 97.78 kB / 0.5146 GB, free: 17.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.375, allocations: 12.06 kB / 0.5146 GB, free: 17.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.3775, allocations: 1.33 MB / 0.5159 GB, free: 16.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.3777, allocations: 82.88 kB / 0.516 GB, free: 16.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3778, allocations: 87.39 kB / 0.5161 GB, free: 16.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.3797, allocations: 1.021 MB / 0.5171 GB, free: 16.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3797, allocations: 3.344 kB / 0.5171 GB, free: 16.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3797, allocations: 0 / 0.5171 GB, free: 16.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3797, allocations: 0 / 0.5171 GB, free: 16.36 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009112/0.3806, allocations: 0.5819 MB / 0.5177 GB, free: 15.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3806, allocations: 9.031 kB / 0.5177 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009818/0.3816, allocations: 269.3 kB / 0.5179 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.3819, allocations: 192.2 kB / 0.5181 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3819, allocations: 10.97 kB / 0.5181 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.382, allocations: 28.12 kB / 0.5182 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.3824, allocations: 480.1 kB / 0.5186 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3824, allocations: 0 / 0.5186 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.3824, allocations: 6.719 kB / 0.5186 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.3824, allocations: 3.031 kB / 0.5186 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.3827, allocations: 212 kB / 0.5188 GB, free: 15.26 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.001103/0.3838, allocations: 0.7499 MB / 0.5196 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.3841, allocations: 204.6 kB / 0.5198 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3842, allocations: 85.12 kB / 0.5198 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008187/0.385, allocations: 309.2 kB / 0.5201 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.385, allocations: 50.55 kB / 0.5202 GB, free: 14.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.675e-06/0.385, allocations: 0 / 0.5202 GB, free: 14.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007533/0.3858, allocations: 331.3 kB / 0.5205 GB, free: 14.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.3858, allocations: 80.08 kB / 0.5206 GB, free: 14.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.3859, allocations: 170.2 kB / 0.5207 GB, free: 14.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3859, allocations: 36.61 kB / 0.5208 GB, free: 14.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.386, allocations: 161.4 kB / 0.5209 GB, free: 13.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.386, allocations: 114.5 kB / 0.521 GB, free: 13.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.3861, allocations: 66.94 kB / 0.5211 GB, free: 13.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.215e-05/0.3862, allocations: 0.4964 MB / 0.5216 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.3863, allocations: 59.38 kB / 0.5216 GB, free: 13.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.3864, allocations: 178.9 kB / 0.5218 GB, free: 13.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.3866, allocations: 272.7 kB / 0.5221 GB, free: 12.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3866, allocations: 0 / 0.5221 GB, free: 12.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003505/0.387, allocations: 295.8 kB / 0.5223 GB, free: 12.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.387, allocations: 12.25 kB / 0.5224 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.387, allocations: 2.781 kB / 0.5224 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.387, allocations: 2.938 kB / 0.5224 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.3872, allocations: 77.02 kB / 0.5224 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3872, allocations: 9.406 kB / 0.5224 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3873, allocations: 26.58 kB / 0.5225 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.3874, allocations: 17.7 kB / 0.5225 GB, free: 12.77 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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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 8.764e-05/0.3874, allocations: 178.3 kB / 0.5227 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.3875, allocations: 33.22 kB / 0.5227 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.3879, allocations: 280.2 kB / 0.523 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3879, allocations: 3.281 kB / 0.523 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3879, allocations: 0 / 0.523 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3879, allocations: 1.547 kB / 0.523 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.3882, allocations: 229.3 kB / 0.5232 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3882, allocations: 0 / 0.5232 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.3884, allocations: 63.69 kB / 0.5232 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3884, allocations: 0 / 0.5232 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.3884, allocations: 15.84 kB / 0.5233 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3884, allocations: 0 / 0.5233 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3884, allocations: 7.062 kB / 0.5233 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.3889, allocations: 0.5634 MB / 0.5238 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.3889, allocations: 13.58 kB / 0.5238 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.3889, allocations: 13.2 kB / 0.5238 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.3891, allocations: 12.56 kB / 0.5239 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.3891, allocations: 19 kB / 0.5239 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.3891, allocations: 14.22 kB / 0.5239 GB, free: 11.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.21e-05/0.3892, allocations: 131.1 kB / 0.524 GB, free: 11.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3892, allocations: 0 / 0.524 GB, free: 11.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008093/0.39, allocations: 241.3 kB / 0.5242 GB, free: 11.69 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 (29): * Single equations (assignments): 29 * Array equations: 0 * 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.0008113/0.3908, allocations: 464 kB / 0.5247 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.3911, allocations: 204.9 kB / 0.5249 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3911, allocations: 4.188 kB / 0.5249 GB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3912, allocations: 110.2 kB / 0.525 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.3916, allocations: 87.05 kB / 0.5251 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.3927, allocations: 0.577 MB / 0.5256 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.461e-05/0.3928, allocations: 81.7 kB / 0.5257 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.393, allocations: 69.69 kB / 0.5258 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.3931, allocations: 27.84 kB / 0.5258 GB, free: 10.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.094e-06/0.3931, allocations: 3.031 kB / 0.5258 GB, free: 10.88 MB / 410.7 MB Notification: Performance of Templates: time 0.01402/0.4071, allocations: 9.853 MB / 0.5354 GB, free: 7.777 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6950418381020427]