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.0009787/0.0009787, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009439/0.0009439, allocations: 161.4 kB / 25.61 MB, free: 8.582 MB / 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.9173/0.9173, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] 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.1365/0.1365, allocations: 34.26 MB / 296.9 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.883e-05, allocations: 6.25 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2718/0.2719, allocations: 143.1 MB / 0.5101 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.2745, allocations: 3.266 MB / 0.5133 GB, free: 13.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.2746, allocations: 2.531 kB / 0.5133 GB, free: 13.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.275, allocations: 60.22 kB / 0.5134 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.2766, allocations: 1.124 MB / 0.5145 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.2768, allocations: 201.7 kB / 0.5146 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.2771, allocations: 372.7 kB / 0.515 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.2772, allocations: 8.266 kB / 0.515 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.2774, allocations: 211.5 kB / 0.5152 GB, free: 13.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.2775, allocations: 106.1 kB / 0.5153 GB, free: 13.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.2776, allocations: 14.16 kB / 0.5153 GB, free: 13.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.2791, allocations: 1.357 MB / 0.5166 GB, free: 13.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.2791, allocations: 88.14 kB / 0.5167 GB, free: 13.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.798e-05/0.2792, allocations: 84.77 kB / 0.5168 GB, free: 13.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009608/0.2802, allocations: 1.038 MB / 0.5178 GB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2802, allocations: 0 / 0.5178 GB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2802, allocations: 3.938 kB / 0.5178 GB, free: 13.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2802, allocations: 0 / 0.5178 GB, free: 13.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.0005521/0.2807, allocations: 0.5852 MB / 0.5184 GB, free: 12.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2808, allocations: 13.86 kB / 0.5184 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008581/0.2816, allocations: 250 kB / 0.5187 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.2818, allocations: 188.8 kB / 0.5188 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2818, allocations: 13.53 kB / 0.5188 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.2819, allocations: 24.19 kB / 0.5189 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.2822, allocations: 461.8 kB / 0.5193 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2822, allocations: 0 / 0.5193 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.2822, allocations: 9.219 kB / 0.5193 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.2822, allocations: 9.484 kB / 0.5193 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.2824, allocations: 194.5 kB / 0.5195 GB, free: 12.39 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.0007871/0.2832, allocations: 0.7483 MB / 0.5202 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.2834, allocations: 188.8 kB / 0.5204 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.272e-05/0.2834, allocations: 76.98 kB / 0.5205 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006312/0.2841, allocations: 297.9 kB / 0.5208 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.2841, allocations: 41.91 kB / 0.5208 GB, free: 11.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.373e-06/0.2841, allocations: 1.203 kB / 0.5208 GB, free: 11.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005872/0.2847, allocations: 316.2 kB / 0.5211 GB, free: 11.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.759e-05/0.2847, allocations: 80.02 kB / 0.5212 GB, free: 11.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.187e-05/0.2847, allocations: 179.8 kB / 0.5214 GB, free: 11.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.2848, allocations: 31.95 kB / 0.5214 GB, free: 11.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.2848, allocations: 155.1 kB / 0.5215 GB, free: 11.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.2848, allocations: 119.5 kB / 0.5217 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.2849, allocations: 75.75 kB / 0.5217 GB, free: 11.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.2849, allocations: 0.4976 MB / 0.5222 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.285, allocations: 47.61 kB / 0.5223 GB, free: 10.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.18e-05/0.2851, allocations: 175.9 kB / 0.5224 GB, free: 10.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.2852, allocations: 240.6 kB / 0.5227 GB, free: 10.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2853, allocations: 0 / 0.5227 GB, free: 10.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002774/0.2855, allocations: 275.5 kB / 0.5229 GB, free: 10.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2855, allocations: 7.969 kB / 0.5229 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2855, allocations: 6.938 kB / 0.5229 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-06/0.2856, allocations: 6.875 kB / 0.5229 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.2857, allocations: 71.55 kB / 0.523 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2857, allocations: 5.938 kB / 0.523 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.339e-05/0.2858, allocations: 28.88 kB / 0.523 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.2858, allocations: 15.67 kB / 0.5231 GB, free: 10.31 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 6.705e-05/0.2859, allocations: 179 kB / 0.5232 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.286, allocations: 35.84 kB / 0.5233 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.2863, allocations: 260.5 kB / 0.5235 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.2863, allocations: 4.719 kB / 0.5235 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.2863, allocations: 3.5 kB / 0.5235 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2863, allocations: 0 / 0.5235 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.2865, allocations: 217.6 kB / 0.5237 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2865, allocations: 2.312 kB / 0.5237 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.2867, allocations: 51.98 kB / 0.5238 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2867, allocations: 3.031 kB / 0.5238 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.2867, allocations: 11.8 kB / 0.5238 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2867, allocations: 7.438 kB / 0.5238 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2867, allocations: 3.938 kB / 0.5238 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.287, allocations: 0.5418 MB / 0.5243 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.287, allocations: 19.84 kB / 0.5244 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.2871, allocations: 10.28 kB / 0.5244 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2872, allocations: 22.56 kB / 0.5244 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.2872, allocations: 18.92 kB / 0.5244 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.2873, allocations: 16.36 kB / 0.5244 GB, free: 9.574 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.888e-05/0.2873, allocations: 133.4 kB / 0.5245 GB, free: 9.457 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2873, allocations: 0 / 0.5245 GB, free: 9.457 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004414/0.2877, allocations: 245.8 kB / 0.5248 GB, free: 9.41 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.000606/0.2883, allocations: 466.2 kB / 0.5252 GB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.2885, allocations: 190 kB / 0.5254 GB, free: 9.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2885, allocations: 3.188 kB / 0.5254 GB, free: 9.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.2886, allocations: 108.5 kB / 0.5255 GB, free: 9.207 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.289, allocations: 99.56 kB / 0.5256 GB, free: 9.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/0.2897, allocations: 0.5765 MB / 0.5262 GB, free: 8.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.2898, allocations: 84.36 kB / 0.5263 GB, free: 8.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.29, allocations: 70.89 kB / 0.5263 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.2902, allocations: 190.7 kB / 0.5265 GB, free: 8.625 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2902, allocations: 0 / 0.5265 GB, free: 8.625 MB / 410.7 MB Notification: Performance of Templates: time 0.009394/0.2996, allocations: 10.44 MB / 0.5367 GB, free: 3.871 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=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","",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.5833366317674518]