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.001243/0.001243, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001073/0.001073, allocations: 161 kB / 24.56 MB, free: 12 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.052/1.052, allocations: 177.1 MB / 205 MB, free: 5.602 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.2785/0.2785, 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 9.22e-07/9.22e-07, allocations: 0 / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.481e-05, allocations: 6.25 kB / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2899/0.2899, allocations: 145.8 MB / 0.5096 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.2925, allocations: 3.192 MB / 0.5127 GB, free: 18.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.2926, allocations: 4 kB / 0.5127 GB, free: 18.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.293, allocations: 54.22 kB / 0.5127 GB, free: 18.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.295, allocations: 1.087 MB / 0.5138 GB, free: 17.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.2954, allocations: 201.2 kB / 0.514 GB, free: 17.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.2957, allocations: 357.1 kB / 0.5143 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.2958, allocations: 5.156 kB / 0.5143 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.2961, allocations: 211.5 kB / 0.5145 GB, free: 17.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.2962, allocations: 104.1 kB / 0.5146 GB, free: 17.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.2962, allocations: 11.25 kB / 0.5146 GB, free: 17.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.298, allocations: 1.325 MB / 0.5159 GB, free: 16.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.844e-05/0.298, allocations: 82.25 kB / 0.516 GB, free: 16.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.2981, allocations: 88.33 kB / 0.5161 GB, free: 16.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.2993, allocations: 1.019 MB / 0.5171 GB, free: 16.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2993, allocations: 3.938 kB / 0.5171 GB, free: 16.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2993, allocations: 0 / 0.5171 GB, free: 16.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2993, allocations: 0 / 0.5171 GB, free: 16.37 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.0006443/0.2999, allocations: 0.5789 MB / 0.5177 GB, free: 15.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3, allocations: 9.031 kB / 0.5177 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008552/0.3008, allocations: 266.4 kB / 0.5179 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.301, allocations: 196.5 kB / 0.5181 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3011, allocations: 10.09 kB / 0.5181 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.3011, allocations: 27.59 kB / 0.5181 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.3015, allocations: 479 kB / 0.5186 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3015, allocations: 4 kB / 0.5186 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.3015, allocations: 6.688 kB / 0.5186 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3015, allocations: 3 kB / 0.5186 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.3018, allocations: 212.9 kB / 0.5188 GB, free: 15.27 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.0009114/0.3027, allocations: 0.7487 MB / 0.5196 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.3029, allocations: 203 kB / 0.5197 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.303, allocations: 85.36 kB / 0.5198 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007132/0.3037, allocations: 306.9 kB / 0.5201 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.3037, allocations: 43.75 kB / 0.5202 GB, free: 14.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.373e-06/0.3037, allocations: 0 / 0.5202 GB, free: 14.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006558/0.3044, allocations: 333.6 kB / 0.5205 GB, free: 14.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.3044, allocations: 82.58 kB / 0.5206 GB, free: 14.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.3044, allocations: 173 kB / 0.5207 GB, free: 14.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3045, allocations: 36.27 kB / 0.5208 GB, free: 14.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.3045, allocations: 158.2 kB / 0.5209 GB, free: 13.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.3046, allocations: 118.2 kB / 0.521 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.3046, allocations: 65.14 kB / 0.5211 GB, free: 13.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.3047, allocations: 0.4942 MB / 0.5216 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.3047, allocations: 63.27 kB / 0.5216 GB, free: 13.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.3049, allocations: 178.6 kB / 0.5218 GB, free: 13.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.3051, allocations: 270.2 kB / 0.5221 GB, free: 12.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3051, allocations: 3.062 kB / 0.5221 GB, free: 12.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003227/0.3054, allocations: 300.4 kB / 0.5223 GB, free: 12.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3054, allocations: 12.44 kB / 0.5224 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3054, allocations: 2.938 kB / 0.5224 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3054, allocations: 5.125 kB / 0.5224 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.3056, allocations: 73.17 kB / 0.5224 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.3056, allocations: 3.25 kB / 0.5224 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.539e-05/0.3057, allocations: 29.64 kB / 0.5225 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.3057, allocations: 20.91 kB / 0.5225 GB, free: 12.78 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 7.465e-05/0.3058, allocations: 178.5 kB / 0.5227 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.3059, allocations: 33.66 kB / 0.5227 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.3062, allocations: 274.8 kB / 0.5229 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3062, allocations: 2.188 kB / 0.5229 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3063, allocations: 7.359 kB / 0.523 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3063, allocations: 1.875 kB / 0.523 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.3065, allocations: 224.2 kB / 0.5232 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3065, allocations: 6.469 kB / 0.5232 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.3067, allocations: 52.09 kB / 0.5232 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3067, allocations: 2.375 kB / 0.5232 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3067, allocations: 11.25 kB / 0.5232 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3067, allocations: 9.609 kB / 0.5233 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3067, allocations: 3.125 kB / 0.5233 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.3071, allocations: 0.561 MB / 0.5238 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.3071, allocations: 13.77 kB / 0.5238 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.3072, allocations: 10.88 kB / 0.5238 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3073, allocations: 14.86 kB / 0.5238 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.3073, allocations: 21.62 kB / 0.5239 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.3074, allocations: 15.25 kB / 0.5239 GB, free: 11.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.194e-05/0.3074, allocations: 127.6 kB / 0.524 GB, free: 11.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3074, allocations: 0 / 0.524 GB, free: 11.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005313/0.3079, allocations: 243.3 kB / 0.5242 GB, free: 11.7 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.0006932/0.3086, allocations: 458.6 kB / 0.5247 GB, free: 11.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.3089, allocations: 207 kB / 0.5249 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3089, allocations: 0.625 kB / 0.5249 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.309, allocations: 118 kB / 0.525 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.3094, allocations: 86.36 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.0009251/0.3103, allocations: 0.5779 MB / 0.5256 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.037e-05/0.3104, allocations: 81.53 kB / 0.5257 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.3105, allocations: 70.27 kB / 0.5258 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.3106, allocations: 35.47 kB / 0.5258 GB, free: 10.88 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3106, allocations: 3.938 kB / 0.5258 GB, free: 10.88 MB / 410.7 MB Notification: Performance of Templates: time 0.008746/0.3194, allocations: 8.481 MB / 0.5341 GB, free: 8.582 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.7512509329244494]