Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.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.001949/0.001949, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002365/0.002365, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2339/0.2339, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.284e-05/3.533e-05, allocations: 2.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4443/0.4443, allocations: 129.9 MB / 476.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.4469, allocations: 1.876 MB / 478.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.885e-05/0.447, allocations: 6.875 kB / 478.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003776/0.4473, allocations: 51.83 kB / 478.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.4488, allocations: 0.6387 MB / 479.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.4491, allocations: 114.1 kB / 479.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.4493, allocations: 253.7 kB / 479.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.4494, allocations: 5.484 kB / 479.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.4496, allocations: 172.7 kB / 479.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.4498, allocations: 86.88 kB / 480 MB, free: 10.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.4498, allocations: 10.53 kB / 480 MB, free: 10.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.451, allocations: 0.7566 MB / 480.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.451, allocations: 83.97 kB / 480.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.766e-05/0.4511, allocations: 76.03 kB / 480.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008313/0.452, allocations: 0.6955 MB / 481.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.452, allocations: 2.562 kB / 481.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.452, allocations: 0 / 481.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.452, allocations: 0 / 481.6 MB, free: 10.23 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006768/0.4527, allocations: 448.4 kB / 482 MB, free: 9.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4527, allocations: 10.56 kB / 482.1 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.4547, allocations: 346.4 kB / 482.4 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.4551, allocations: 211.8 kB / 482.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.4551, allocations: 15.2 kB / 482.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.632e-05/0.4552, allocations: 20.83 kB / 482.6 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.4559, allocations: 0.6512 MB / 483.3 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4559, allocations: 3.938 kB / 483.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.4559, allocations: 10.06 kB / 483.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.456, allocations: 7.469 kB / 483.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007116/0.4567, allocations: 0.5852 MB / 483.9 MB, free: 9.117 MB / 362.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.002055/0.4587, allocations: 0.9215 MB / 484.8 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.4592, allocations: 238.6 kB / 485 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.4594, allocations: 178.5 kB / 485.2 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007754/0.4602, allocations: 122.1 kB / 485.3 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.4602, allocations: 37.28 kB / 485.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.884e-06/0.4602, allocations: 0 / 485.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001801/0.462, allocations: 0.624 MB / 486 MB, free: 8.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.4621, allocations: 79.48 kB / 486.1 MB, free: 8.211 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.968e-05/0.4622, allocations: 139.4 kB / 486.2 MB, free: 8.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.4622, allocations: 32.48 kB / 486.2 MB, free: 8.066 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.4622, allocations: 112.1 kB / 486.4 MB, free: 7.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.4623, allocations: 110.5 kB / 486.5 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.4624, allocations: 67.47 kB / 486.5 MB, free: 7.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.4625, allocations: 327.1 kB / 486.8 MB, free: 7.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.4628, allocations: 189.1 kB / 487 MB, free: 7.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.4631, allocations: 295.5 kB / 487.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.4637, allocations: 486.3 kB / 487.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4637, allocations: 2.5 kB / 487.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008601/0.4646, allocations: 0.5374 MB / 488.3 MB, free: 7.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4646, allocations: 7.5 kB / 488.3 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4646, allocations: 3.125 kB / 488.3 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.4646, allocations: 9.125 kB / 488.4 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.4651, allocations: 84.28 kB / 488.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.4651, allocations: 5.656 kB / 488.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.4655, allocations: 36.45 kB / 488.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.4656, allocations: 24.69 kB / 488.5 MB, free: 7.012 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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 0.0001278/0.4657, allocations: 151.4 kB / 488.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.4658, allocations: 23.55 kB / 488.7 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008716/0.4667, allocations: 0.49 MB / 489.2 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4667, allocations: 6.781 kB / 489.2 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4667, allocations: 0 / 489.2 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4667, allocations: 2.219 kB / 489.2 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.4673, allocations: 348.8 kB / 489.5 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.4673, allocations: 7.297 kB / 489.5 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.4678, allocations: 58.28 kB / 489.6 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4678, allocations: 2.812 kB / 489.6 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.4678, allocations: 16.55 kB / 489.6 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4678, allocations: 0 / 489.6 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4678, allocations: 3.938 kB / 489.6 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.4688, allocations: 0.6944 MB / 490.3 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.4689, allocations: 17.31 kB / 490.3 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.4689, allocations: 9.797 kB / 490.3 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.4694, allocations: 21.98 kB / 490.3 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.4695, allocations: 20.69 kB / 490.4 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.4695, allocations: 22.02 kB / 490.4 MB, free: 6.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.826e-05/0.4695, allocations: 103.2 kB / 490.5 MB, free: 6.094 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4695, allocations: 0 / 490.5 MB, free: 6.094 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007032/0.4703, allocations: 163.3 kB / 490.6 MB, free: 6.066 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.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 (28): * Single equations (assignments): 28 * 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.0007566/0.471, allocations: 339.2 kB / 491 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007122/0.4717, allocations: 417.7 kB / 491.4 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4717, allocations: 2.719 kB / 491.4 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.472, allocations: 213.1 kB / 491.6 MB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007381/0.4728, allocations: 102.3 kB / 491.7 MB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.4738, allocations: 0.7095 MB / 492.4 MB, free: 5.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.496e-05/0.4739, allocations: 130.9 kB / 492.5 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004475/0.4744, allocations: 113 kB / 492.6 MB, free: 5.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.4745, allocations: 31.73 kB / 492.7 MB, free: 5.09 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4745, allocations: 4 kB / 492.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of Templates: time 0.01182/0.4863, allocations: 8.331 MB / 0.4893 GB, free: 15.65 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.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.869979182025418]