Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001663/0.001663, allocations: 103.6 kB / 21.19 MB, free: 0.6445 MB / 14.72 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.002385/0.002385, allocations: 217.1 kB / 24.49 MB, free: 3.949 MB / 14.72 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 1.563/1.563, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2562/0.2562, allocations: 46.96 MB / 361.6 MB, free: 4.133 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+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.1.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.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3432, allocations: 66.03 MB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1844/0.5276, allocations: 131.6 MB / 0.6903 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.5304, allocations: 1.963 MB / 0.6923 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.5305, allocations: 0 / 0.6923 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.5308, allocations: 51.73 kB / 0.6923 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.5325, allocations: 0.6453 MB / 0.6929 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.5328, allocations: 119.6 kB / 0.6931 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.5332, allocations: 259.1 kB / 0.6933 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.5333, allocations: 7.984 kB / 0.6933 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.5336, allocations: 155.3 kB / 0.6935 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.5338, allocations: 91.7 kB / 0.6935 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.5338, allocations: 12 kB / 0.6936 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.5354, allocations: 0.7754 MB / 0.6943 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.5355, allocations: 95.69 kB / 0.6944 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.5356, allocations: 79.72 kB / 0.6945 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.5367, allocations: 0.6455 MB / 0.6951 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5367, allocations: 0 / 0.6951 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5367, allocations: 0 / 0.6951 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.5367, allocations: 0 / 0.6951 GB, free: 11.18 MB / 0.5294 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.000863/0.5376, allocations: 453.4 kB / 0.6955 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5376, allocations: 15.97 kB / 0.6956 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.5398, allocations: 272.4 kB / 0.6958 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.5403, allocations: 222 kB / 0.696 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.5403, allocations: 12.33 kB / 0.696 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.98e-05/0.5404, allocations: 24 kB / 0.6961 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009355/0.5413, allocations: 0.6357 MB / 0.6967 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5413, allocations: 0 / 0.6967 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.936e-05/0.5414, allocations: 12 kB / 0.6967 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.5414, allocations: 8 kB / 0.6967 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009447/0.5424, allocations: 0.5738 MB / 0.6973 GB, free: 8.875 MB / 0.5294 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.002362/0.5447, allocations: 0.9137 MB / 0.6982 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.5452, allocations: 237 kB / 0.6984 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.5454, allocations: 181.6 kB / 0.6986 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009462/0.5464, allocations: 155.8 kB / 0.6987 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.5464, allocations: 38.56 kB / 0.6987 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/0.5464, allocations: 0 / 0.6987 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002044/0.5485, allocations: 0.5939 MB / 0.6993 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.5485, allocations: 81.11 kB / 0.6994 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.5487, allocations: 133.8 kB / 0.6995 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.5487, allocations: 29.7 kB / 0.6996 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.5488, allocations: 120.6 kB / 0.6997 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.5489, allocations: 115.1 kB / 0.6998 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.5491, allocations: 61.48 kB / 0.6998 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5492, allocations: 334.8 kB / 0.7002 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.5496, allocations: 183.9 kB / 0.7003 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.55, allocations: 292.5 kB / 0.7006 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000821/0.5509, allocations: 492.6 kB / 0.7011 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5509, allocations: 0 / 0.7011 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001046/0.5519, allocations: 0.5225 MB / 0.7016 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5519, allocations: 12.03 kB / 0.7016 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5519, allocations: 0 / 0.7016 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.552, allocations: 8 kB / 0.7016 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.5525, allocations: 79.83 kB / 0.7017 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.5525, allocations: 7.984 kB / 0.7017 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.5529, allocations: 39.77 kB / 0.7017 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.553, allocations: 16.39 kB / 0.7018 GB, free: 4.059 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.0001984/0.5532, allocations: 145.7 kB / 0.7019 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5533, allocations: 19.91 kB / 0.7019 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.5544, allocations: 497.8 kB / 0.7024 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.5544, allocations: 3.984 kB / 0.7024 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5544, allocations: 11.94 kB / 0.7024 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5544, allocations: 0 / 0.7024 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007298/0.5551, allocations: 345.8 kB / 0.7027 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5551, allocations: 3.938 kB / 0.7027 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/0.5557, allocations: 63.95 kB / 0.7028 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.5557, allocations: 0 / 0.7028 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.5557, allocations: 11.98 kB / 0.7028 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5557, allocations: 4 kB / 0.7028 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5557, allocations: 3.938 kB / 0.7028 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.5569, allocations: 0.6924 MB / 0.7035 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.557, allocations: 11.89 kB / 0.7035 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.557, allocations: 8 kB / 0.7035 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.5575, allocations: 23.95 kB / 0.7035 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.5576, allocations: 15.97 kB / 0.7035 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.5576, allocations: 19.98 kB / 0.7036 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.889e-05/0.5577, allocations: 103.2 kB / 0.7037 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5577, allocations: 0 / 0.7037 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007317/0.5585, allocations: 159.6 kB / 0.7038 GB, free: 1.883 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.0008712/0.5593, allocations: 346.7 kB / 0.7041 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008583/0.5602, allocations: 421.9 kB / 0.7045 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5602, allocations: 0 / 0.7045 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.5606, allocations: 212.6 kB / 0.7048 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007448/0.5613, allocations: 96.36 kB / 0.7048 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.563, allocations: 0.9247 MB / 0.7057 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.5631, allocations: 115.5 kB / 0.7059 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.5633, allocations: 43.42 kB / 0.7059 GB, free: 15.68 MB / 0.545 GB Notification: Performance of SimCode: time 8.71e-07/0.5633, allocations: 0 / 0.7059 GB, free: 15.68 MB / 0.545 GB Notification: Performance of Templates: time 0.01101/0.5743, allocations: 6.764 MB / 0.7125 GB, free: 8.922 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 9.109483006992377]