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.001539/0.001539, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002238/0.002238, allocations: 211.4 kB / 23.73 MB, free: 4.523 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.474/1.474, allocations: 230.6 MB / 257.5 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.2374/0.2374, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.001987/0.001987, allocations: 79.88 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3322, allocations: 66.03 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1694/0.5015, allocations: 131.6 MB / 0.6891 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002639/0.5042, allocations: 1.974 MB / 0.691 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.5042, allocations: 0 / 0.691 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.5046, allocations: 47.73 kB / 0.6911 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.5063, allocations: 0.6453 MB / 0.6917 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.5066, allocations: 111.6 kB / 0.6918 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.507, allocations: 263 kB / 0.6921 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.507, allocations: 15.97 kB / 0.6921 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.5073, allocations: 139.5 kB / 0.6922 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.5075, allocations: 103.6 kB / 0.6923 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.5075, allocations: 12 kB / 0.6923 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.509, allocations: 0.7714 MB / 0.6931 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.5091, allocations: 91.75 kB / 0.6932 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.5092, allocations: 83.72 kB / 0.6933 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.5104, allocations: 0.6564 MB / 0.6939 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5105, allocations: 0 / 0.6939 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5105, allocations: 0 / 0.6939 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5105, allocations: 4 kB / 0.6939 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.0009936/0.5115, allocations: 433.5 kB / 0.6943 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5115, allocations: 12.03 kB / 0.6943 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.669e-05/0.5116, allocations: 50.73 kB / 0.6944 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.5135, allocations: 276.5 kB / 0.6946 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.514, allocations: 225.8 kB / 0.6948 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.514, allocations: 20.27 kB / 0.6949 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/0.5141, allocations: 15.98 kB / 0.6949 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008518/0.5149, allocations: 0.6395 MB / 0.6955 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5149, allocations: 0 / 0.6955 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.515, allocations: 15.94 kB / 0.6955 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.515, allocations: 8 kB / 0.6955 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000867/0.5159, allocations: 0.5739 MB / 0.6961 GB, free: 8.82 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.002391/0.5183, allocations: 0.9404 MB / 0.697 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.5187, allocations: 245 kB / 0.6972 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.5189, allocations: 177.6 kB / 0.6974 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008071/0.5197, allocations: 160 kB / 0.6976 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.5198, allocations: 34.56 kB / 0.6976 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.853e-06/0.5198, allocations: 0 / 0.6976 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001975/0.5217, allocations: 0.5976 MB / 0.6982 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.5218, allocations: 89.03 kB / 0.6983 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.522, allocations: 129.8 kB / 0.6984 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.522, allocations: 33.7 kB / 0.6984 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.5221, allocations: 116.5 kB / 0.6985 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.5222, allocations: 111.1 kB / 0.6986 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.5224, allocations: 69.47 kB / 0.6987 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5225, allocations: 326.8 kB / 0.699 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.5229, allocations: 187.9 kB / 0.6992 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.5233, allocations: 291.5 kB / 0.6995 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008461/0.5242, allocations: 486.8 kB / 0.6999 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.5242, allocations: 7.938 kB / 0.6999 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001028/0.5252, allocations: 0.5168 MB / 0.7005 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.5252, allocations: 4 kB / 0.7005 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5252, allocations: 7.984 kB / 0.7005 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.5253, allocations: 4 kB / 0.7005 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.5258, allocations: 79.89 kB / 0.7005 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.5258, allocations: 8 kB / 0.7006 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.5262, allocations: 35.77 kB / 0.7006 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.5262, allocations: 16 kB / 0.7006 GB, free: 3.969 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.0001832/0.5264, allocations: 157.8 kB / 0.7008 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.5265, allocations: 23.89 kB / 0.7008 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009851/0.5275, allocations: 0.4889 MB / 0.7013 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.5275, allocations: 4 kB / 0.7013 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5275, allocations: 0 / 0.7013 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5275, allocations: 3.984 kB / 0.7013 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.5282, allocations: 393.1 kB / 0.7016 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5282, allocations: 0 / 0.7016 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004729/0.5287, allocations: 59.91 kB / 0.7017 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5287, allocations: 0 / 0.7017 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.5287, allocations: 15.98 kB / 0.7017 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5287, allocations: 4 kB / 0.7017 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5287, allocations: 0 / 0.7017 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.5299, allocations: 0.6879 MB / 0.7024 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.5299, allocations: 15.89 kB / 0.7024 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.53, allocations: 11.98 kB / 0.7024 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.5304, allocations: 19.98 kB / 0.7024 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.5305, allocations: 23.89 kB / 0.7025 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.5305, allocations: 15.98 kB / 0.7025 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.557e-05/0.5306, allocations: 103.7 kB / 0.7026 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5306, allocations: 0 / 0.7026 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007384/0.5313, allocations: 171.6 kB / 0.7027 GB, free: 1.719 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.002168/0.5335, allocations: 1.466 MB / 0.7042 GB, free: 228 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000865/0.5344, allocations: 429.2 kB / 0.7046 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5344, allocations: 0 / 0.7046 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.5347, allocations: 211.8 kB / 0.7048 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.5355, allocations: 99.56 kB / 0.7049 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004641/0.5401, allocations: 3.222 MB / 0.708 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.5403, allocations: 130.9 kB / 0.7081 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004641/0.5407, allocations: 109.8 kB / 0.7082 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.5409, allocations: 55.41 kB / 0.7083 GB, free: 11.81 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/0.5409, allocations: 4 kB / 0.7083 GB, free: 11.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04431/0.5852, allocations: 11.44 MB / 0.7195 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.73, allocations: 17.31 kB / 0.7195 GB, free: 0.5469 MB / 0.545 GB " [Timeout remaining time 648] (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: 14.807931540999562]