Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 112.3 kB / 21.17 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001752/0.001752, allocations: 212.5 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.2 MB / 257.8 MB, free: 8.48 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2268/0.2268, allocations: 46.89 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 79.86 kB / 0.4967 GB, free: 8.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3379, allocations: 65.97 MB / 0.5612 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1792/0.5171, allocations: 153.1 MB / 0.7106 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003207/0.5203, allocations: 2.2 MB / 0.7128 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.5204, allocations: 0 / 0.7128 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.5208, allocations: 63.64 kB / 0.7129 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.5225, allocations: 0.6376 MB / 0.7135 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.5229, allocations: 111.1 kB / 0.7136 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.5232, allocations: 259 kB / 0.7138 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.5233, allocations: 4 kB / 0.7138 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.5237, allocations: 143.4 kB / 0.714 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.5239, allocations: 103.6 kB / 0.7141 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.5239, allocations: 8 kB / 0.7141 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.5258, allocations: 0.8884 MB / 0.7149 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.5259, allocations: 83.75 kB / 0.715 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.526, allocations: 95.59 kB / 0.7151 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.527, allocations: 0.6573 MB / 0.7158 GB, free: 8.562 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.527, allocations: 0 / 0.7158 GB, free: 8.562 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.527, allocations: 4 kB / 0.7158 GB, free: 8.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.527, allocations: 0 / 0.7158 GB, free: 8.559 MB / 0.545 GB 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.0008352/0.5279, allocations: 0.5141 MB / 0.7163 GB, free: 7.996 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.5279, allocations: 15.95 kB / 0.7163 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.53, allocations: 276.5 kB / 0.7165 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.5305, allocations: 279.9 kB / 0.7168 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.5305, allocations: 8.328 kB / 0.7168 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.093e-05/0.5306, allocations: 20 kB / 0.7168 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/0.5314, allocations: 0.4889 MB / 0.7173 GB, free: 6.871 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5314, allocations: 0 / 0.7173 GB, free: 6.871 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-05/0.5315, allocations: 8 kB / 0.7173 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.5315, allocations: 11.98 kB / 0.7173 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009088/0.5324, allocations: 0.5778 MB / 0.7179 GB, free: 6.273 MB / 0.545 GB 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.00237/0.5348, allocations: 1.012 MB / 0.7189 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.5352, allocations: 241 kB / 0.7191 GB, free: 4.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.5355, allocations: 177.6 kB / 0.7193 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009886/0.5365, allocations: 387.2 kB / 0.7197 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.5365, allocations: 38.56 kB / 0.7197 GB, free: 4.293 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.5365, allocations: 4 kB / 0.7197 GB, free: 4.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002116/0.5386, allocations: 0.5961 MB / 0.7203 GB, free: 3.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.5387, allocations: 81.11 kB / 0.7204 GB, free: 3.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5388, allocations: 125.8 kB / 0.7205 GB, free: 3.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.5388, allocations: 29.7 kB / 0.7205 GB, free: 3.422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.5389, allocations: 120.7 kB / 0.7206 GB, free: 3.301 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.539, allocations: 115 kB / 0.7207 GB, free: 3.188 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.5392, allocations: 69.47 kB / 0.7208 GB, free: 3.113 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.5393, allocations: 326.8 kB / 0.7211 GB, free: 2.785 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.5397, allocations: 179.9 kB / 0.7213 GB, free: 2.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.5401, allocations: 292.5 kB / 0.7216 GB, free: 2.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008285/0.541, allocations: 0.4911 MB / 0.722 GB, free: 1.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.541, allocations: 0 / 0.722 GB, free: 1.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00106/0.542, allocations: 0.5299 MB / 0.7226 GB, free: 1.207 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.542, allocations: 7.938 kB / 0.7226 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5421, allocations: 4 kB / 0.7226 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.5421, allocations: 11.98 kB / 0.7226 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.5426, allocations: 75.89 kB / 0.7227 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.5426, allocations: 7.938 kB / 0.7227 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.5431, allocations: 39.77 kB / 0.7227 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.5431, allocations: 19.98 kB / 0.7227 GB, free: 1.043 MB / 0.545 GB 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.0001738/0.5433, allocations: 149.9 kB / 0.7229 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.5434, allocations: 15.91 kB / 0.7229 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.5444, allocations: 486.1 kB / 0.7233 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.5444, allocations: 4 kB / 0.7233 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5444, allocations: 0 / 0.7233 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.5444, allocations: 3.984 kB / 0.7233 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008119/0.5453, allocations: 461.8 kB / 0.7238 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5453, allocations: 0 / 0.7238 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/0.5458, allocations: 59.89 kB / 0.7238 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5458, allocations: 0 / 0.7238 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.5459, allocations: 23.98 kB / 0.7239 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.5459, allocations: 0 / 0.7239 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5459, allocations: 0 / 0.7239 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.547, allocations: 0.691 MB / 0.7245 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.5471, allocations: 89 kB / 0.7246 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.5472, allocations: 15.98 kB / 0.7246 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/0.5477, allocations: 15.98 kB / 0.7247 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.5477, allocations: 19.97 kB / 0.7247 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.5478, allocations: 23.92 kB / 0.7247 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.255e-05/0.5479, allocations: 95.27 kB / 0.7248 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5479, allocations: 0 / 0.7248 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006828/0.5485, allocations: 171.6 kB / 0.725 GB, free: 14.65 MB / 0.5606 GB 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.0009277/0.5495, allocations: 349.6 kB / 0.7253 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008476/0.5503, allocations: 415.9 kB / 0.7257 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5503, allocations: 4 kB / 0.7257 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.5507, allocations: 211.9 kB / 0.7259 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007446/0.5515, allocations: 98.98 kB / 0.726 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.553, allocations: 0.8873 MB / 0.7268 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.5534, allocations: 0.7288 MB / 0.7276 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000455/0.5539, allocations: 113.8 kB / 0.7277 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.554, allocations: 31.42 kB / 0.7277 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.554, allocations: 0 / 0.7277 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.01518/0.5692, allocations: 8.173 MB / 0.7357 GB, free: 3.656 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.720238031819463]