Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001712/0.001712, allocations: 123.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.001978/0.001978, allocations: 204.3 kB / 20.74 MB, free: 2.316 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.502/1.502, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2367/0.2367, allocations: 44.91 MB / 355.1 MB, free: 12.35 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.88 kB / 499.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1443, allocations: 65.41 MB / 0.5517 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5377/0.682, allocations: 153 MB / 0.7012 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002857/0.6848, allocations: 2.191 MB / 0.7033 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.913e-05/0.6849, allocations: 0 / 0.7033 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.6853, allocations: 63.72 kB / 0.7034 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.6871, allocations: 0.645 MB / 0.704 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.6874, allocations: 99.8 kB / 0.7041 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.6877, allocations: 259 kB / 0.7043 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.6878, allocations: 4 kB / 0.7043 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.6881, allocations: 155.4 kB / 0.7045 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.6883, allocations: 91.64 kB / 0.7046 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.6883, allocations: 8 kB / 0.7046 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.6899, allocations: 0.8885 MB / 0.7055 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.69, allocations: 83.75 kB / 0.7055 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.6901, allocations: 95.58 kB / 0.7056 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.6912, allocations: 0.6568 MB / 0.7063 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6912, allocations: 0 / 0.7063 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6912, allocations: 3.938 kB / 0.7063 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.6912, allocations: 0 / 0.7063 GB, free: 9.094 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.0009341/0.6922, allocations: 0.5104 MB / 0.7068 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.6922, allocations: 8.031 kB / 0.7068 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.472e-05/0.6923, allocations: 54.73 kB / 0.7068 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.6943, allocations: 272.5 kB / 0.7071 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.6948, allocations: 280.9 kB / 0.7074 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.6948, allocations: 19.92 kB / 0.7074 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.924e-05/0.6949, allocations: 16 kB / 0.7074 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008/0.6957, allocations: 0.4889 MB / 0.7079 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.6957, allocations: 4 kB / 0.7079 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-05/0.6957, allocations: 8 kB / 0.7079 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.6958, allocations: 24.34 kB / 0.7079 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008994/0.6967, allocations: 0.5817 MB / 0.7085 GB, free: 6.738 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.002272/0.6989, allocations: 1.004 MB / 0.7095 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.6994, allocations: 246.9 kB / 0.7097 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.6996, allocations: 173.6 kB / 0.7099 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000963/0.7006, allocations: 383.2 kB / 0.7102 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.7006, allocations: 38.56 kB / 0.7103 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 1.873e-06/0.7006, allocations: 0 / 0.7103 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28): time 0.002074/0.7027, allocations: 0.5994 MB / 0.7108 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.7028, allocations: 85.05 kB / 0.7109 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.7029, allocations: 131 kB / 0.7111 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.703, allocations: 29.7 kB / 0.7111 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.703, allocations: 124.5 kB / 0.7112 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.7031, allocations: 107.1 kB / 0.7113 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.7033, allocations: 65.47 kB / 0.7114 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7034, allocations: 330.8 kB / 0.7117 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.7038, allocations: 183.9 kB / 0.7119 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.7042, allocations: 289.6 kB / 0.7121 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/0.705, allocations: 491.1 kB / 0.7126 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.705, allocations: 7.938 kB / 0.7126 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001001/0.706, allocations: 0.517 MB / 0.7131 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.7061, allocations: 14.19 kB / 0.7131 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7061, allocations: 4 kB / 0.7131 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.7061, allocations: 4 kB / 0.7131 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.7066, allocations: 79.89 kB / 0.7132 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.7066, allocations: 8 kB / 0.7132 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.707, allocations: 35.77 kB / 0.7133 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.7071, allocations: 19.98 kB / 0.7133 GB, free: 1.539 MB / 0.5137 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.0001729/0.7073, allocations: 155.8 kB / 0.7134 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.7074, allocations: 19.91 kB / 0.7134 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.7084, allocations: 498.4 kB / 0.7139 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.7084, allocations: 4 kB / 0.7139 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7084, allocations: 0 / 0.7139 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.7084, allocations: 3.984 kB / 0.7139 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007775/0.7092, allocations: 465.8 kB / 0.7144 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7092, allocations: 0 / 0.7144 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/0.7097, allocations: 59.89 kB / 0.7144 GB, free: 304 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7097, allocations: 0 / 0.7144 GB, free: 304 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.7098, allocations: 11.98 kB / 0.7144 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.7098, allocations: 6.188 kB / 0.7144 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7098, allocations: 4 kB / 0.7144 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.711, allocations: 0.6835 MB / 0.7151 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.392e-05/0.711, allocations: 92.95 kB / 0.7152 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.7111, allocations: 11.98 kB / 0.7152 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.7116, allocations: 19.98 kB / 0.7152 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.7117, allocations: 23.91 kB / 0.7153 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.7117, allocations: 15.98 kB / 0.7153 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.032e-05/0.7118, allocations: 99.7 kB / 0.7154 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7118, allocations: 0 / 0.7154 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000745/0.7125, allocations: 163.6 kB / 0.7155 GB, free: 15.14 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.002534/0.7151, allocations: 1.486 MB / 0.717 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008788/0.7159, allocations: 417.9 kB / 0.7174 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7159, allocations: 128 / 0.7174 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.7163, allocations: 222 kB / 0.7176 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.7171, allocations: 94.84 kB / 0.7177 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.7222, allocations: 3.226 MB / 0.7208 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.7226, allocations: 0.7323 MB / 0.7215 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004631/0.723, allocations: 109.8 kB / 0.7216 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.7232, allocations: 63.41 kB / 0.7217 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.7232, allocations: 0 / 0.7217 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/0.762, allocations: 10.38 MB / 0.7318 GB, free: 14.31 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.916, allocations: 5.766 kB / 0.7318 GB, free: 14.3 MB / 0.545 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.206766963936388]