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.001594/0.001594, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001779/0.001779, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.472/1.472, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2464/0.2464, allocations: 46.9 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 179] 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.002428/0.002428, allocations: 79.88 kB / 0.4967 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4354, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2064/0.6417, allocations: 153.1 MB / 0.7107 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.6447, allocations: 2.208 MB / 0.7128 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.6447, allocations: 4 kB / 0.7128 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.6451, allocations: 55.7 kB / 0.7129 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.6466, allocations: 0.6414 MB / 0.7135 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.6469, allocations: 99.78 kB / 0.7136 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.6473, allocations: 259 kB / 0.7138 GB, free: 8.113 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.6474, allocations: 4 kB / 0.7138 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.6477, allocations: 155.4 kB / 0.714 GB, free: 7.957 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.6479, allocations: 95.7 kB / 0.7141 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.6479, allocations: 8 kB / 0.7141 GB, free: 7.855 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.6495, allocations: 0.8884 MB / 0.715 GB, free: 6.965 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.6496, allocations: 83.77 kB / 0.715 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.6497, allocations: 91.66 kB / 0.7151 GB, free: 6.793 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009611/0.6507, allocations: 0.6613 MB / 0.7158 GB, free: 6.133 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6507, allocations: 4 kB / 0.7158 GB, free: 6.129 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6507, allocations: 0 / 0.7158 GB, free: 6.129 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.6507, allocations: 0 / 0.7158 GB, free: 6.129 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.0008989/0.6516, allocations: 0.5141 MB / 0.7163 GB, free: 5.566 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.6516, allocations: 8.031 kB / 0.7163 GB, free: 5.559 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.6536, allocations: 272.5 kB / 0.7165 GB, free: 5.293 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.6541, allocations: 283.9 kB / 0.7168 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.6541, allocations: 12.33 kB / 0.7168 GB, free: 4.965 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.6542, allocations: 16 kB / 0.7168 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008073/0.655, allocations: 0.489 MB / 0.7173 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.655, allocations: 3.984 kB / 0.7173 GB, free: 4.445 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/0.6551, allocations: 4 kB / 0.7173 GB, free: 4.441 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.6551, allocations: 8 kB / 0.7173 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008853/0.656, allocations: 0.5855 MB / 0.7179 GB, free: 3.848 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.002317/0.6583, allocations: 1.012 MB / 0.7189 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.6587, allocations: 237 kB / 0.7191 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.659, allocations: 177.6 kB / 0.7193 GB, free: 2.352 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009654/0.66, allocations: 391.3 kB / 0.7197 GB, free: 1.914 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.66, allocations: 38.56 kB / 0.7197 GB, free: 1.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.744e-06/0.66, allocations: 4 kB / 0.7197 GB, free: 1.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002031/0.662, allocations: 0.5915 MB / 0.7203 GB, free: 1.266 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.6621, allocations: 77.11 kB / 0.7204 GB, free: 1.172 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.6622, allocations: 137.8 kB / 0.7205 GB, free: 1.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/0.6623, allocations: 29.7 kB / 0.7205 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.6624, allocations: 116.5 kB / 0.7206 GB, free: 0.875 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.6625, allocations: 126.9 kB / 0.7207 GB, free: 0.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.6626, allocations: 65.47 kB / 0.7208 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6628, allocations: 326.8 kB / 0.7211 GB, free: 360 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.6631, allocations: 183.9 kB / 0.7213 GB, free: 176 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.6635, allocations: 288.5 kB / 0.7216 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007847/0.6643, allocations: 495.8 kB / 0.722 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6643, allocations: 0 / 0.722 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000955/0.6653, allocations: 0.5168 MB / 0.7225 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.6653, allocations: 8 kB / 0.7226 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.6653, allocations: 4 kB / 0.7226 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.6653, allocations: 7.938 kB / 0.7226 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/0.6659, allocations: 79.89 kB / 0.7226 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.6659, allocations: 8 kB / 0.7226 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.6663, allocations: 39.75 kB / 0.7227 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.6663, allocations: 16 kB / 0.7227 GB, free: 14.63 MB / 0.5606 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.0001906/0.6665, allocations: 157.8 kB / 0.7229 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.6666, allocations: 15.91 kB / 0.7229 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009987/0.6676, allocations: 497.4 kB / 0.7233 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.6676, allocations: 4 kB / 0.7233 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6677, allocations: 0 / 0.7233 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.6677, allocations: 3.984 kB / 0.7233 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007721/0.6684, allocations: 465.8 kB / 0.7238 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6684, allocations: 0 / 0.7238 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.6689, allocations: 59.89 kB / 0.7239 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.6689, allocations: 4 kB / 0.7239 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.669, allocations: 11.98 kB / 0.7239 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.669, allocations: 4 kB / 0.7239 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.669, allocations: 3.938 kB / 0.7239 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.6701, allocations: 0.6801 MB / 0.7245 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.6702, allocations: 101 kB / 0.7246 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.6703, allocations: 11.98 kB / 0.7246 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.6708, allocations: 15.98 kB / 0.7247 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.6708, allocations: 19.97 kB / 0.7247 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.6708, allocations: 15.98 kB / 0.7247 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.609e-05/0.6709, allocations: 107.6 kB / 0.7248 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6709, allocations: 3.938 kB / 0.7248 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007087/0.6716, allocations: 163.6 kB / 0.725 GB, free: 12.22 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.0008689/0.6725, allocations: 354.7 kB / 0.7253 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008284/0.6733, allocations: 407.6 kB / 0.7257 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6733, allocations: 0 / 0.7257 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.6737, allocations: 215.8 kB / 0.7259 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.6744, allocations: 85.27 kB / 0.726 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.676, allocations: 0.8818 MB / 0.7268 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.6764, allocations: 0.7404 MB / 0.7276 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004307/0.6769, allocations: 121.7 kB / 0.7277 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.677, allocations: 31.42 kB / 0.7277 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.677, allocations: 0 / 0.7277 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of Templates: time 0.01461/0.6916, allocations: 8.17 MB / 0.7357 GB, free: 1.215 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 cvode -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: 6.249469577334821]