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.001169/0.001169, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001075/0.001075, allocations: 165.3 kB / 24.82 MB, free: 9.312 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 1.159/1.159, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.3741/0.3741, allocations: 34.27 MB / 296.1 MB, free: 0.7188 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.[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 2.064e-06/2.064e-06, allocations: 0 / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.766e-05, allocations: 2.312 kB / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5057/0.5057, allocations: 143.1 MB / 0.5094 GB, free: 19.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004376/0.5101, allocations: 3.263 MB / 0.5125 GB, free: 17.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.5103, allocations: 3.938 kB / 0.5125 GB, free: 17.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005361/0.5109, allocations: 57.39 kB / 0.5126 GB, free: 17.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0041/0.515, allocations: 1.125 MB / 0.5137 GB, free: 16.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007109/0.5157, allocations: 199.5 kB / 0.5139 GB, free: 16.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.5164, allocations: 373 kB / 0.5142 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.5165, allocations: 8.109 kB / 0.5143 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.517, allocations: 207 kB / 0.5145 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.5173, allocations: 111.5 kB / 0.5146 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.5173, allocations: 12 kB / 0.5146 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004376/0.5217, allocations: 1.358 MB / 0.5159 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.5219, allocations: 86.17 kB / 0.516 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.522, allocations: 84.64 kB / 0.5161 GB, free: 15.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.5245, allocations: 1.04 MB / 0.5171 GB, free: 15.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.5245, allocations: 0 / 0.5171 GB, free: 15.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5245, allocations: 0 / 0.5171 GB, free: 15.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.5245, allocations: 0 / 0.5171 GB, free: 15.48 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.0008495/0.5253, allocations: 0.5916 MB / 0.5177 GB, free: 14.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.5254, allocations: 10.73 kB / 0.5177 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.5263, allocations: 248.3 kB / 0.5179 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.5266, allocations: 185.5 kB / 0.5181 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.5266, allocations: 14.72 kB / 0.5181 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.5267, allocations: 32.47 kB / 0.5181 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.5271, allocations: 461.8 kB / 0.5186 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5271, allocations: 0 / 0.5186 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.5271, allocations: 11.06 kB / 0.5186 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/0.5272, allocations: 7.422 kB / 0.5186 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.5275, allocations: 182 kB / 0.5188 GB, free: 14.38 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.001167/0.5286, allocations: 0.7498 MB / 0.5195 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.5289, allocations: 192.8 kB / 0.5197 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.529, allocations: 86.59 kB / 0.5198 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009305/0.5299, allocations: 301.3 kB / 0.52 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.5299, allocations: 42.36 kB / 0.5201 GB, free: 13.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 3.747e-06/0.5299, allocations: 0 / 0.5201 GB, free: 13.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007614/0.5307, allocations: 322.2 kB / 0.5204 GB, free: 13.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.5307, allocations: 80.77 kB / 0.5205 GB, free: 13.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/0.5308, allocations: 171.8 kB / 0.5206 GB, free: 13.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.5308, allocations: 32.7 kB / 0.5207 GB, free: 13.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.5309, allocations: 163.6 kB / 0.5208 GB, free: 13.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.531, allocations: 122.3 kB / 0.5209 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.5311, allocations: 66.09 kB / 0.521 GB, free: 12.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.5311, allocations: 0.4957 MB / 0.5215 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.5312, allocations: 53.59 kB / 0.5215 GB, free: 12.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.5313, allocations: 171.7 kB / 0.5217 GB, free: 12.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.5315, allocations: 250 kB / 0.5219 GB, free: 12.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.5315, allocations: 0 / 0.5219 GB, free: 12.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003448/0.5319, allocations: 276.5 kB / 0.5222 GB, free: 12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.5319, allocations: 5.844 kB / 0.5222 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5319, allocations: 5.656 kB / 0.5222 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.5319, allocations: 6.25 kB / 0.5222 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.5321, allocations: 73.47 kB / 0.5223 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.5322, allocations: 9.219 kB / 0.5223 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.5323, allocations: 25.59 kB / 0.5223 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.5323, allocations: 17.3 kB / 0.5223 GB, free: 11.96 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.0001008/0.5324, allocations: 176.5 kB / 0.5225 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.383e-05/0.5325, allocations: 33.94 kB / 0.5225 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.5329, allocations: 260.9 kB / 0.5228 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.5329, allocations: 5.25 kB / 0.5228 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.5329, allocations: 0 / 0.5228 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.5329, allocations: 5.297 kB / 0.5228 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.5333, allocations: 206.8 kB / 0.523 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5333, allocations: 2.781 kB / 0.523 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.5334, allocations: 55.91 kB / 0.523 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5334, allocations: 0 / 0.523 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.5334, allocations: 15.72 kB / 0.5231 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.5334, allocations: 2.938 kB / 0.5231 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5335, allocations: 3.938 kB / 0.5231 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.534, allocations: 0.5403 MB / 0.5236 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.534, allocations: 18.03 kB / 0.5236 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.534, allocations: 10.2 kB / 0.5236 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.5342, allocations: 12.86 kB / 0.5236 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.5342, allocations: 24.95 kB / 0.5237 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.5342, allocations: 16.72 kB / 0.5237 GB, free: 11.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.465e-05/0.5343, allocations: 137 kB / 0.5238 GB, free: 10.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5343, allocations: 0 / 0.5238 GB, free: 10.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001029/0.5353, allocations: 245.8 kB / 0.524 GB, free: 10.9 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.0009324/0.5362, allocations: 469.5 kB / 0.5245 GB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.5366, allocations: 187 kB / 0.5247 GB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.5366, allocations: 0 / 0.5247 GB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.498e-05/0.5367, allocations: 108 kB / 0.5248 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.5371, allocations: 98.03 kB / 0.5249 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.5382, allocations: 0.5867 MB / 0.5254 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.537e-05/0.5383, allocations: 86.39 kB / 0.5255 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.5385, allocations: 72.17 kB / 0.5256 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.5388, allocations: 192.1 kB / 0.5258 GB, free: 10.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5388, allocations: 0 / 0.5258 GB, free: 10.03 MB / 410.7 MB Notification: Performance of Templates: time 0.01485/0.5536, allocations: 10.37 MB / 0.5359 GB, free: 6.48 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2253830302506685]