Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001044/0.001044, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001544/0.002588, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002336, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1103/1.149, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2495/0.2495, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02707/0.2765, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 3.938 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.599e-05, allocations: 5.016 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1405/0.1405, allocations: 145.4 MB / 436 MB, free: 6.336 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.1427, allocations: 2.247 MB / 438.3 MB, free: 4.082 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/0.1428, allocations: 0 / 438.3 MB, free: 4.082 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.1431, allocations: 63.61 kB / 438.3 MB, free: 4.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.1443, allocations: 0.6332 MB / 439 MB, free: 3.379 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1447, allocations: 111.6 kB / 439.1 MB, free: 3.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.145, allocations: 266.9 kB / 439.3 MB, free: 3.008 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.145, allocations: 11.98 kB / 439.3 MB, free: 2.996 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.1453, allocations: 175.5 kB / 439.5 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1455, allocations: 87.7 kB / 439.6 MB, free: 2.738 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.1456, allocations: 8 kB / 439.6 MB, free: 2.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.1467, allocations: 0.7868 MB / 440.4 MB, free: 1.941 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1468, allocations: 79.73 kB / 440.5 MB, free: 1.863 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.1469, allocations: 55.94 kB / 440.5 MB, free: 1.809 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007332/0.1476, allocations: 0.6039 MB / 441.1 MB, free: 1.203 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.676e-05/0.1476, allocations: 4 kB / 441.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1476, allocations: 0 / 441.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.1477, allocations: 0 / 441.1 MB, free: 1.199 MB / 426.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.0007195/0.1484, allocations: 0.4886 MB / 441.6 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1484, allocations: 8.031 kB / 441.6 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.1495, allocations: 397.4 kB / 442 MB, free: 280 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.1498, allocations: 205.5 kB / 442.2 MB, free: 48 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1498, allocations: 12.7 kB / 442.2 MB, free: 36 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.1499, allocations: 24.12 kB / 442.3 MB, free: 12 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2133/0.3631, allocations: 457 kB / 442.7 MB, free: 9.621 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3631, allocations: 0 / 442.7 MB, free: 9.621 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.3632, allocations: 7.375 kB / 442.7 MB, free: 9.621 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.3632, allocations: 8.406 kB / 442.7 MB, free: 9.621 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.3636, allocations: 205.8 kB / 442.9 MB, free: 9.613 MB / 426.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.001258/0.3649, allocations: 0.6687 MB / 443.6 MB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.3651, allocations: 168.8 kB / 443.8 MB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3652, allocations: 81.89 kB / 443.8 MB, free: 9.254 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004532/0.3656, allocations: 133.6 kB / 444 MB, free: 9.254 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3657, allocations: 41.88 kB / 444 MB, free: 9.215 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.3657, allocations: 0 / 444 MB, free: 9.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008626/0.3665, allocations: 353.4 kB / 444.3 MB, free: 9.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.3666, allocations: 83.36 kB / 444.4 MB, free: 9.066 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.3666, allocations: 125.6 kB / 444.6 MB, free: 8.961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.3667, allocations: 30.45 kB / 444.6 MB, free: 8.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.3667, allocations: 115.4 kB / 444.7 MB, free: 8.832 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.3668, allocations: 116.7 kB / 444.8 MB, free: 8.773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-05/0.3669, allocations: 63.16 kB / 444.9 MB, free: 8.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.3669, allocations: 329.5 kB / 445.2 MB, free: 8.445 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.367, allocations: 66.77 kB / 445.3 MB, free: 8.441 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.3671, allocations: 165.6 kB / 445.4 MB, free: 8.324 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.3673, allocations: 279.7 kB / 445.7 MB, free: 8.195 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.3673, allocations: 3.875 kB / 445.7 MB, free: 8.195 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003143/0.3676, allocations: 282.7 kB / 446 MB, free: 8.148 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3676, allocations: 7.094 kB / 446 MB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3676, allocations: 4.25 kB / 446 MB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3677, allocations: 6.438 kB / 446 MB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.3679, allocations: 86.94 kB / 446.1 MB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3679, allocations: 11.09 kB / 446.1 MB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.3681, allocations: 27.06 kB / 446.1 MB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.3681, allocations: 22.08 kB / 446.1 MB, free: 8.141 MB / 426.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 9.456e-05/0.3682, allocations: 132.2 kB / 446.3 MB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.3683, allocations: 34.48 kB / 446.3 MB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/0.3686, allocations: 269.2 kB / 446.6 MB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3686, allocations: 5.062 kB / 446.6 MB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3686, allocations: 3.844 kB / 446.6 MB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3686, allocations: 4.812 kB / 446.6 MB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.369, allocations: 190.9 kB / 446.8 MB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.369, allocations: 0 / 446.8 MB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.3692, allocations: 65.39 kB / 446.8 MB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.3692, allocations: 24.8 kB / 446.8 MB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3692, allocations: 2.5 kB / 446.8 MB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3693, allocations: 10.44 kB / 446.9 MB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3693, allocations: 4.594 kB / 446.9 MB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3693, allocations: 0.6562 kB / 446.9 MB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.3696, allocations: 0.5345 MB / 447.4 MB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.3697, allocations: 11 kB / 447.4 MB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.3698, allocations: 16.08 kB / 447.4 MB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.3699, allocations: 18.84 kB / 447.4 MB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.3699, allocations: 11.94 kB / 447.5 MB, free: 7.617 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.984e-05/0.3699, allocations: 23 kB / 447.5 MB, free: 7.609 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3699, allocations: 1.125 kB / 447.5 MB, free: 7.609 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004774/0.3704, allocations: 163.2 kB / 447.6 MB, free: 7.605 MB / 426.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.0005312/0.3709, allocations: 332.8 kB / 448 MB, free: 7.516 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.3712, allocations: 221 kB / 448.2 MB, free: 7.504 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.3712, allocations: 3.531 kB / 448.2 MB, free: 7.504 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.01e-05/0.3713, allocations: 113.5 kB / 448.3 MB, free: 7.496 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3716, allocations: 130.9 kB / 448.4 MB, free: 7.484 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.3737, allocations: 0.5024 MB / 448.9 MB, free: 7.223 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.3737, allocations: 94.64 kB / 449 MB, free: 7.148 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.374, allocations: 73.88 kB / 449.1 MB, free: 7.141 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.3743, allocations: 148.2 kB / 449.2 MB, free: 7.09 MB / 426.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3743, allocations: 0 / 449.2 MB, free: 7.09 MB / 426.7 MB Notification: Performance of Templates: time 0.01072/0.385, allocations: 9.887 MB / 459.1 MB, free: 6.359 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.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.4265900002792478]