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.001257/0.001257, allocations: 109.8 kB / 19.17 MB, free: 3.871 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.001366/0.001366, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.523/1.523, allocations: 230.2 MB / 255.1 MB, free: 15.28 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.2396/0.2396, allocations: 46.88 MB / 358.1 MB, free: 10.64 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.00228/0.00228, allocations: 87.84 kB / 0.4924 GB, free: 8.152 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1633, allocations: 65.98 MB / 0.5568 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.6164/0.7797, allocations: 153 MB / 0.7062 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.7827, allocations: 2.203 MB / 0.7084 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.7828, allocations: 0 / 0.7084 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.7832, allocations: 59.66 kB / 0.7084 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.7849, allocations: 0.6339 MB / 0.709 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.7853, allocations: 115.3 kB / 0.7092 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.7857, allocations: 255 kB / 0.7094 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.7857, allocations: 7.984 kB / 0.7094 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.786, allocations: 143.4 kB / 0.7095 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.7863, allocations: 99.62 kB / 0.7096 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.7863, allocations: 8 kB / 0.7096 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.7881, allocations: 0.8767 MB / 0.7105 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.7883, allocations: 83.81 kB / 0.7106 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.7884, allocations: 107.5 kB / 0.7107 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.7896, allocations: 0.658 MB / 0.7113 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7896, allocations: 0 / 0.7113 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7896, allocations: 0 / 0.7113 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.7896, allocations: 0 / 0.7113 GB, free: 3.691 MB / 0.5137 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.001016/0.7906, allocations: 0.5025 MB / 0.7118 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.7906, allocations: 12.03 kB / 0.7118 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.7927, allocations: 276.5 kB / 0.7121 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.7932, allocations: 284.2 kB / 0.7124 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.7932, allocations: 20.27 kB / 0.7124 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/0.7933, allocations: 16 kB / 0.7124 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008644/0.7941, allocations: 0.4938 MB / 0.7129 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.7942, allocations: 0 / 0.7129 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/0.7942, allocations: 12 kB / 0.7129 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.7943, allocations: 12.48 kB / 0.7129 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009592/0.7952, allocations: 0.5778 MB / 0.7135 GB, free: 1.402 MB / 0.5137 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.002381/0.7976, allocations: 1.004 MB / 0.7144 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.798, allocations: 245.7 kB / 0.7147 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.7983, allocations: 177.8 kB / 0.7149 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.7993, allocations: 383.2 kB / 0.7152 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.7994, allocations: 39.56 kB / 0.7153 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 5.22e-06/0.7994, allocations: 3.984 kB / 0.7153 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002098/0.8015, allocations: 0.6014 MB / 0.7158 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.8015, allocations: 85.11 kB / 0.7159 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.8017, allocations: 129.8 kB / 0.7161 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.8017, allocations: 29.7 kB / 0.7161 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.8018, allocations: 116.5 kB / 0.7162 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.802, allocations: 111 kB / 0.7163 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.8021, allocations: 69.47 kB / 0.7164 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.8023, allocations: 322.8 kB / 0.7167 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.8027, allocations: 187.9 kB / 0.7169 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.8031, allocations: 292.5 kB / 0.7171 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008394/0.804, allocations: 488.6 kB / 0.7176 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.804, allocations: 4 kB / 0.7176 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001062/0.805, allocations: 0.5227 MB / 0.7181 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.8051, allocations: 4 kB / 0.7181 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.8051, allocations: 4 kB / 0.7181 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.8051, allocations: 4 kB / 0.7181 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.8056, allocations: 84.3 kB / 0.7182 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.8057, allocations: 12.94 kB / 0.7182 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.8061, allocations: 35.77 kB / 0.7182 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.8061, allocations: 19.98 kB / 0.7183 GB, free: 12.19 MB / 0.5294 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.0002127/0.8063, allocations: 145.7 kB / 0.7184 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.8065, allocations: 15.91 kB / 0.7184 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.8075, allocations: 493.1 kB / 0.7189 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.8075, allocations: 4 kB / 0.7189 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.8075, allocations: 7.5 kB / 0.7189 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.8076, allocations: 7.984 kB / 0.7189 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/0.8084, allocations: 449.9 kB / 0.7193 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8084, allocations: 0 / 0.7193 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.8089, allocations: 63.89 kB / 0.7194 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.8089, allocations: 0 / 0.7194 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.809, allocations: 11.98 kB / 0.7194 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.809, allocations: 4 kB / 0.7194 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.809, allocations: 3.938 kB / 0.7194 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.8102, allocations: 0.6932 MB / 0.7201 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.8103, allocations: 92.95 kB / 0.7202 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.8103, allocations: 8 kB / 0.7202 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/0.8108, allocations: 19.97 kB / 0.7202 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.8109, allocations: 19.97 kB / 0.7202 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.8109, allocations: 15.98 kB / 0.7202 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.624e-05/0.811, allocations: 103.3 kB / 0.7203 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.811, allocations: 0 / 0.7203 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008042/0.8118, allocations: 163.6 kB / 0.7205 GB, free: 9.809 MB / 0.5294 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.0009328/0.8128, allocations: 350.6 kB / 0.7208 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008864/0.8137, allocations: 416.2 kB / 0.7212 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.8137, allocations: 4.25 kB / 0.7212 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.814, allocations: 214.8 kB / 0.7214 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000705/0.8148, allocations: 92.34 kB / 0.7215 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.8164, allocations: 0.929 MB / 0.7224 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.8168, allocations: 0.7327 MB / 0.7232 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.817, allocations: 35.42 kB / 0.7232 GB, free: 7 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.817, allocations: 0 / 0.7232 GB, free: 7 MB / 0.5294 GB Notification: Performance of Templates: time 0.01138/0.8284, allocations: 6.685 MB / 0.7297 GB, free: 328 kB / 0.5294 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 -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: 9.594313874142244]