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.001004/0.001004, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001036/0.001036, allocations: 161 kB / 24.56 MB, free: 20 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 0.9851/0.9851, allocations: 177.2 MB / 205 MB, free: 5.293 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.2471/0.2471, allocations: 32.81 MB / 294.3 MB, free: 1.238 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.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.773e-06/1.773e-06, allocations: 0 / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.468e-05, allocations: 2.312 kB / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.326/0.3261, allocations: 145.6 MB / 0.5094 GB, free: 20.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.328, allocations: 2.239 MB / 0.5115 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-05/0.3281, allocations: 0 / 0.5115 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.3284, allocations: 49.53 kB / 0.5116 GB, free: 18.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.33, allocations: 0.6735 MB / 0.5123 GB, free: 18.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.3303, allocations: 101.8 kB / 0.5124 GB, free: 18.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.3307, allocations: 260.5 kB / 0.5126 GB, free: 18.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.3307, allocations: 4.203 kB / 0.5126 GB, free: 18.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.331, allocations: 189.3 kB / 0.5128 GB, free: 18.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.3312, allocations: 87.12 kB / 0.5129 GB, free: 18.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.3312, allocations: 9 kB / 0.5129 GB, free: 18.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.3326, allocations: 0.7709 MB / 0.5136 GB, free: 18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3327, allocations: 83.73 kB / 0.5137 GB, free: 17.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.3328, allocations: 80.72 kB / 0.5138 GB, free: 17.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.3339, allocations: 0.6759 MB / 0.5144 GB, free: 17.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3339, allocations: 0 / 0.5144 GB, free: 17.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3339, allocations: 4 kB / 0.5144 GB, free: 17.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.3339, allocations: 0 / 0.5144 GB, free: 17.73 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007274/0.3346, allocations: 0.5427 MB / 0.515 GB, free: 17.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3347, allocations: 9.406 kB / 0.515 GB, free: 17.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.3359, allocations: 333.8 kB / 0.5153 GB, free: 17.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.3363, allocations: 217.5 kB / 0.5155 GB, free: 17.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3363, allocations: 21.67 kB / 0.5155 GB, free: 17.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.3363, allocations: 19.47 kB / 0.5156 GB, free: 17.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.3368, allocations: 0.5101 MB / 0.5161 GB, free: 16.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3368, allocations: 0 / 0.5161 GB, free: 16.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.3369, allocations: 11.03 kB / 0.5161 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.3369, allocations: 7.531 kB / 0.5161 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.3373, allocations: 302.1 kB / 0.5164 GB, free: 16.68 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.001265/0.3385, allocations: 0.8837 MB / 0.5172 GB, free: 16.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.3388, allocations: 173.6 kB / 0.5174 GB, free: 16.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.3389, allocations: 109 kB / 0.5175 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/0.3393, allocations: 148.3 kB / 0.5176 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3393, allocations: 44.03 kB / 0.5177 GB, free: 15.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.595e-06/0.3393, allocations: 3.984 kB / 0.5177 GB, free: 15.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009961/0.3403, allocations: 468.8 kB / 0.5181 GB, free: 15.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.3403, allocations: 88.05 kB / 0.5182 GB, free: 15.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.725e-05/0.3404, allocations: 193 kB / 0.5184 GB, free: 15.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3405, allocations: 29.7 kB / 0.5184 GB, free: 15.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.3405, allocations: 159.9 kB / 0.5186 GB, free: 15.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.3406, allocations: 112.5 kB / 0.5187 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/0.3406, allocations: 76.72 kB / 0.5188 GB, free: 15.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.3407, allocations: 0.499 MB / 0.5192 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3408, allocations: 101.2 kB / 0.5193 GB, free: 14.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.341, allocations: 252 kB / 0.5196 GB, free: 14.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.3413, allocations: 385.6 kB / 0.5199 GB, free: 14.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3413, allocations: 0 / 0.5199 GB, free: 14.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004508/0.3418, allocations: 382 kB / 0.5203 GB, free: 14.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3418, allocations: 8.812 kB / 0.5203 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.3418, allocations: 7.25 kB / 0.5203 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.3418, allocations: 12.88 kB / 0.5203 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.3421, allocations: 74.33 kB / 0.5204 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3421, allocations: 11.42 kB / 0.5204 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.3422, allocations: 33.56 kB / 0.5205 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.3423, allocations: 17.45 kB / 0.5205 GB, free: 14.04 MB / 410.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.424e-05/0.3424, allocations: 181.2 kB / 0.5206 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.3425, allocations: 29.72 kB / 0.5207 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.3429, allocations: 374.3 kB / 0.521 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3429, allocations: 2.625 kB / 0.521 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3429, allocations: 2.906 kB / 0.521 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3429, allocations: 2.812 kB / 0.521 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.3433, allocations: 314.9 kB / 0.5213 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3433, allocations: 3.406 kB / 0.5213 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.3435, allocations: 53.81 kB / 0.5214 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3435, allocations: 2.688 kB / 0.5214 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.3435, allocations: 11.17 kB / 0.5214 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3435, allocations: 7.438 kB / 0.5214 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3435, allocations: 0 / 0.5214 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.3441, allocations: 0.6714 MB / 0.5221 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.3441, allocations: 17.09 kB / 0.5221 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.3441, allocations: 17.83 kB / 0.5221 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.3443, allocations: 18.12 kB / 0.5221 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.3444, allocations: 16.91 kB / 0.5221 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.3444, allocations: 19.23 kB / 0.5221 GB, free: 13.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.959e-05/0.3444, allocations: 135 kB / 0.5223 GB, free: 12.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3444, allocations: 0 / 0.5223 GB, free: 12.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005576/0.345, allocations: 163 kB / 0.5224 GB, free: 12.88 MB / 410.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.0005954/0.3456, allocations: 357.6 kB / 0.5228 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.346, allocations: 297.2 kB / 0.5231 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.346, allocations: 0 / 0.5231 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.3461, allocations: 156.8 kB / 0.5232 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.3465, allocations: 101.2 kB / 0.5233 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.3476, allocations: 0.6719 MB / 0.524 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.951e-05/0.3477, allocations: 87.95 kB / 0.524 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.3479, allocations: 96.52 kB / 0.5241 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3481, allocations: 35.75 kB / 0.5242 GB, free: 12 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.3481, allocations: 0 / 0.5242 GB, free: 12 MB / 410.7 MB Notification: Performance of Templates: time 0.009153/0.3572, allocations: 8.342 MB / 0.5323 GB, free: 10.09 MB / 410.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 -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.669600022956729]