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.001719/0.001719, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002023/0.002023, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.507/1.507, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2526/0.2526, allocations: 46.91 MB / 357.1 MB, free: 10.33 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+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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 68.05 kB / 0.4909 GB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1418, allocations: 65.98 MB / 0.5554 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4903/0.6321, allocations: 153 MB / 0.7048 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.6348, allocations: 2.192 MB / 0.7069 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.6348, allocations: 0 / 0.7069 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.6351, allocations: 59.73 kB / 0.707 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.6365, allocations: 0.6437 MB / 0.7076 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.6368, allocations: 100.7 kB / 0.7077 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.6371, allocations: 267 kB / 0.708 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.6372, allocations: 4 kB / 0.708 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.6374, allocations: 147.4 kB / 0.7081 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.6376, allocations: 95.64 kB / 0.7082 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.6376, allocations: 12 kB / 0.7082 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.6391, allocations: 0.8806 MB / 0.7091 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.6392, allocations: 87.75 kB / 0.7092 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.6393, allocations: 91.64 kB / 0.7092 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009339/0.6403, allocations: 0.6618 MB / 0.7099 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.6403, allocations: 0 / 0.7099 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6403, allocations: 0 / 0.7099 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.6403, allocations: 0 / 0.7099 GB, free: 3.367 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.000759/0.6411, allocations: 0.5142 MB / 0.7104 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.6411, allocations: 12.02 kB / 0.7104 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.933e-05/0.6412, allocations: 54.73 kB / 0.7105 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.6431, allocations: 268.5 kB / 0.7107 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.6435, allocations: 280.1 kB / 0.711 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.6435, allocations: 16.27 kB / 0.711 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/0.6436, allocations: 16 kB / 0.711 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/0.6444, allocations: 0.4977 MB / 0.7115 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.6444, allocations: 0 / 0.7115 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.6445, allocations: 14.14 kB / 0.7115 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.6445, allocations: 4.5 kB / 0.7115 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008917/0.6454, allocations: 0.5856 MB / 0.7121 GB, free: 1.016 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.002208/0.6476, allocations: 1.008 MB / 0.7131 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.648, allocations: 241 kB / 0.7133 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.6483, allocations: 177.6 kB / 0.7135 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009072/0.6492, allocations: 383.2 kB / 0.7138 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.6492, allocations: 43.38 kB / 0.7139 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.6492, allocations: 0 / 0.7139 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001984/0.6512, allocations: 0.5971 MB / 0.7145 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.6513, allocations: 85.09 kB / 0.7145 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.6514, allocations: 129.8 kB / 0.7147 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.6515, allocations: 29.7 kB / 0.7147 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.6515, allocations: 116.5 kB / 0.7148 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.6517, allocations: 111.1 kB / 0.7149 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.6518, allocations: 69.47 kB / 0.715 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6519, allocations: 326.8 kB / 0.7153 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.6523, allocations: 183.9 kB / 0.7155 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/0.6527, allocations: 288.5 kB / 0.7157 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007847/0.6535, allocations: 0.4893 MB / 0.7162 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.6535, allocations: 7.938 kB / 0.7162 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000963/0.6545, allocations: 0.517 MB / 0.7167 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.6545, allocations: 13.91 kB / 0.7167 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6545, allocations: 7.938 kB / 0.7168 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.6545, allocations: 4 kB / 0.7168 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.6551, allocations: 78.77 kB / 0.7168 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.6551, allocations: 11.94 kB / 0.7168 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.6555, allocations: 39.77 kB / 0.7169 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.6555, allocations: 15.98 kB / 0.7169 GB, free: 11.8 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.0001735/0.6557, allocations: 151.9 kB / 0.717 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.6558, allocations: 19.91 kB / 0.7171 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.6568, allocations: 491.2 kB / 0.7175 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.6568, allocations: 7.984 kB / 0.7175 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6568, allocations: 0 / 0.7175 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.6568, allocations: 3.984 kB / 0.7175 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008117/0.6576, allocations: 465.8 kB / 0.718 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6576, allocations: 0 / 0.718 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005153/0.6582, allocations: 55.91 kB / 0.718 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.6582, allocations: 0 / 0.718 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.6582, allocations: 15.98 kB / 0.7181 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6582, allocations: 8 kB / 0.7181 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6582, allocations: 0 / 0.7181 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.6594, allocations: 0.6794 MB / 0.7187 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.6595, allocations: 96.95 kB / 0.7188 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.6596, allocations: 11.98 kB / 0.7188 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004926/0.6601, allocations: 23.92 kB / 0.7189 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.6601, allocations: 19.97 kB / 0.7189 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.6602, allocations: 19.98 kB / 0.7189 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.733e-05/0.6603, allocations: 100.4 kB / 0.719 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.6603, allocations: 0 / 0.719 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008861/0.6611, allocations: 167.6 kB / 0.7191 GB, free: 9.41 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.002355/0.6635, allocations: 1.474 MB / 0.7206 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009455/0.6644, allocations: 421.2 kB / 0.721 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/0.6645, allocations: 12.12 kB / 0.721 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.6648, allocations: 213 kB / 0.7212 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007256/0.6656, allocations: 84.08 kB / 0.7213 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.6703, allocations: 3.23 MB / 0.7244 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.6707, allocations: 0.7362 MB / 0.7252 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004541/0.6712, allocations: 117.7 kB / 0.7253 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.6714, allocations: 59.41 kB / 0.7253 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.6714, allocations: 0 / 0.7253 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/0.7102, allocations: 10.38 MB / 0.7355 GB, free: 8.578 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.263/8.974, allocations: 6.328 kB / 0.7355 GB, free: 8.574 MB / 0.545 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/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] "Error: Could not read variable medium2.p in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.272665976997814]