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.0008078/0.0008078, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004536/0.004536, allocations: 160.5 kB / 24.7 MB, free: 9.426 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.8929/0.8929, allocations: 177.1 MB / 205 MB, free: 5.742 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.2595/0.2595, allocations: 32.79 MB / 294.2 MB, free: 1.215 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.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|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.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|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.533e-06/1.533e-06, allocations: 0 / 440.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.805e-05, allocations: 8.328 kB / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2735/0.2736, allocations: 131.7 MB / 0.5591 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.2754, allocations: 1.97 MB / 0.561 GB, free: 14.75 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.2755, allocations: 0 / 0.561 GB, free: 14.75 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.2758, allocations: 47.69 kB / 0.561 GB, free: 14.7 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008631/0.2766, allocations: 0.6683 MB / 0.5617 GB, free: 14.03 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.2768, allocations: 111.6 kB / 0.5618 GB, free: 13.92 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.277, allocations: 254.9 kB / 0.562 GB, free: 13.67 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.2771, allocations: 10.91 kB / 0.562 GB, free: 13.66 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.2773, allocations: 179.4 kB / 0.5622 GB, free: 13.48 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.2774, allocations: 91.75 kB / 0.5623 GB, free: 13.39 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.2775, allocations: 8 kB / 0.5623 GB, free: 13.39 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007513/0.2782, allocations: 0.7711 MB / 0.5631 GB, free: 12.61 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.2783, allocations: 87.75 kB / 0.5632 GB, free: 12.53 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.2783, allocations: 79.83 kB / 0.5632 GB, free: 12.45 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006127/0.279, allocations: 0.713 MB / 0.5639 GB, free: 11.73 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.279, allocations: 0 / 0.5639 GB, free: 11.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.279, allocations: 4 kB / 0.5639 GB, free: 11.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.279, allocations: 0 / 0.5639 GB, free: 11.73 MB / 474.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.0005414/0.2795, allocations: 442.2 kB / 0.5643 GB, free: 11.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2795, allocations: 8.031 kB / 0.5644 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.2806, allocations: 276.5 kB / 0.5646 GB, free: 11 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.2808, allocations: 221.5 kB / 0.5648 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2808, allocations: 16.64 kB / 0.5648 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.2809, allocations: 20.38 kB / 0.5649 GB, free: 10.72 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.2814, allocations: 0.6468 MB / 0.5655 GB, free: 10.03 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2814, allocations: 4 kB / 0.5655 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.2815, allocations: 8 kB / 0.5655 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.2815, allocations: 15.98 kB / 0.5655 GB, free: 10 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.282, allocations: 0.5803 MB / 0.5661 GB, free: 9.426 MB / 474.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.001488/0.2835, allocations: 0.9034 MB / 0.567 GB, free: 8.496 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.2837, allocations: 233.1 kB / 0.5672 GB, free: 8.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.2839, allocations: 177.6 kB / 0.5674 GB, free: 8.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004082/0.2843, allocations: 155.8 kB / 0.5675 GB, free: 7.918 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.2843, allocations: 34.56 kB / 0.5675 GB, free: 7.875 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.2843, allocations: 4 kB / 0.5676 GB, free: 7.871 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.001048/0.2854, allocations: 0.6046 MB / 0.5681 GB, free: 7.262 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.2854, allocations: 81.11 kB / 0.5682 GB, free: 7.164 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.2855, allocations: 133.8 kB / 0.5683 GB, free: 7.023 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.2855, allocations: 29.7 kB / 0.5684 GB, free: 6.988 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.2856, allocations: 116.5 kB / 0.5685 GB, free: 6.871 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.2856, allocations: 119 kB / 0.5686 GB, free: 6.754 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/0.2857, allocations: 61.69 kB / 0.5687 GB, free: 6.688 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.2858, allocations: 326.8 kB / 0.569 GB, free: 6.359 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.286, allocations: 187.9 kB / 0.5691 GB, free: 6.176 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.2862, allocations: 293.4 kB / 0.5694 GB, free: 5.844 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.2867, allocations: 498.7 kB / 0.5699 GB, free: 5.316 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2867, allocations: 0 / 0.5699 GB, free: 5.316 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005684/0.2872, allocations: 0.5129 MB / 0.5704 GB, free: 4.797 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2873, allocations: 11.94 kB / 0.5704 GB, free: 4.785 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2873, allocations: 3.984 kB / 0.5704 GB, free: 4.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2873, allocations: 8 kB / 0.5704 GB, free: 4.773 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.2875, allocations: 83.83 kB / 0.5705 GB, free: 4.691 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2875, allocations: 4 kB / 0.5705 GB, free: 4.688 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.2877, allocations: 35.77 kB / 0.5705 GB, free: 4.652 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.2877, allocations: 20.28 kB / 0.5706 GB, free: 4.633 MB / 474.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.0001011/0.2878, allocations: 154.7 kB / 0.5707 GB, free: 4.473 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.2879, allocations: 23.89 kB / 0.5707 GB, free: 4.449 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000569/0.2884, allocations: 489.3 kB / 0.5712 GB, free: 3.973 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2884, allocations: 1.812 kB / 0.5712 GB, free: 3.973 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2884, allocations: 11.88 kB / 0.5712 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2885, allocations: 0 / 0.5712 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.2888, allocations: 351.4 kB / 0.5716 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2888, allocations: 0 / 0.5716 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.2891, allocations: 55.97 kB / 0.5716 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2891, allocations: 0 / 0.5716 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.2891, allocations: 15.98 kB / 0.5716 GB, free: 3.527 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2891, allocations: 9.719 kB / 0.5716 GB, free: 3.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2891, allocations: 3.938 kB / 0.5716 GB, free: 3.516 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.2897, allocations: 0.6846 MB / 0.5723 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.2898, allocations: 15.84 kB / 0.5723 GB, free: 2.809 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.2898, allocations: 15.92 kB / 0.5723 GB, free: 2.793 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.29, allocations: 19.11 kB / 0.5723 GB, free: 2.777 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.29, allocations: 23.95 kB / 0.5724 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.2901, allocations: 19.98 kB / 0.5724 GB, free: 2.734 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.2901, allocations: 99.27 kB / 0.5725 GB, free: 2.637 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2901, allocations: 0 / 0.5725 GB, free: 2.637 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.2905, allocations: 163.6 kB / 0.5726 GB, free: 2.477 MB / 474.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.0005127/0.291, allocations: 357.6 kB / 0.573 GB, free: 2.117 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007647/0.2918, allocations: 416.2 kB / 0.5734 GB, free: 1.711 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2918, allocations: 256 / 0.5734 GB, free: 1.711 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.292, allocations: 219.8 kB / 0.5736 GB, free: 1.496 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.2924, allocations: 86.89 kB / 0.5737 GB, free: 1.414 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008337/0.2932, allocations: 0.718 MB / 0.5744 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.917e-05/0.2933, allocations: 126 kB / 0.5745 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.2934, allocations: 36.48 kB / 0.5745 GB, free: 0.5 MB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2934, allocations: 0 / 0.5745 GB, free: 0.5 MB / 474.7 MB Notification: Performance of Templates: time 0.006034/0.2995, allocations: 6.904 MB / 0.5813 GB, free: 9.609 MB / 490.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.6394148068502545]