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.001747/0.001747, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001549/0.001549, allocations: 211.4 kB / 23.73 MB, free: 4.16 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.231/0.231, 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.002104/0.002104, allocations: 71.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3304, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1631/0.4934, allocations: 131.6 MB / 0.6891 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002867/0.4963, allocations: 1.978 MB / 0.6911 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.4964, allocations: 0 / 0.6911 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.4968, allocations: 51.67 kB / 0.6911 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.4987, allocations: 0.6414 MB / 0.6917 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.4991, allocations: 107.5 kB / 0.6918 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000405/0.4995, allocations: 259.1 kB / 0.6921 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.991e-05/0.4995, allocations: 7.938 kB / 0.6921 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.4999, allocations: 155.3 kB / 0.6922 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.5001, allocations: 91.7 kB / 0.6923 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.5001, allocations: 12 kB / 0.6923 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.5017, allocations: 0.7597 MB / 0.6931 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.5019, allocations: 91.69 kB / 0.6932 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.502, allocations: 87.7 kB / 0.6932 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.5034, allocations: 0.6487 MB / 0.6939 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5034, allocations: 0 / 0.6939 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5034, allocations: 0 / 0.6939 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.5034, allocations: 0 / 0.6939 GB, free: 11.2 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.00098/0.5043, allocations: 449.4 kB / 0.6943 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5044, allocations: 8.031 kB / 0.6943 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.192e-05/0.5045, allocations: 58.72 kB / 0.6944 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.5064, allocations: 272.5 kB / 0.6946 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.5069, allocations: 221.8 kB / 0.6948 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.507, allocations: 12.33 kB / 0.6949 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/0.5071, allocations: 20 kB / 0.6949 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009728/0.508, allocations: 0.6357 MB / 0.6955 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.508, allocations: 0 / 0.6955 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/0.5081, allocations: 12 kB / 0.6955 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.5081, allocations: 12 kB / 0.6955 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009375/0.5091, allocations: 0.5738 MB / 0.6961 GB, free: 8.836 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.002483/0.5115, allocations: 0.9482 MB / 0.697 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.512, allocations: 237 kB / 0.6972 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.5122, allocations: 185.6 kB / 0.6974 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000822/0.5131, allocations: 147.8 kB / 0.6975 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.5131, allocations: 38.56 kB / 0.6976 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.5131, allocations: 0 / 0.6976 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.00204/0.5151, allocations: 0.5978 MB / 0.6982 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.5152, allocations: 81.11 kB / 0.6982 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.5154, allocations: 129.8 kB / 0.6984 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.5154, allocations: 29.7 kB / 0.6984 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.5155, allocations: 120.5 kB / 0.6985 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.5156, allocations: 119.1 kB / 0.6986 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.5158, allocations: 69.47 kB / 0.6987 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5159, allocations: 326.8 kB / 0.699 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.5163, allocations: 187.9 kB / 0.6992 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.5167, allocations: 296.5 kB / 0.6995 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007644/0.5175, allocations: 484.6 kB / 0.6999 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5175, allocations: 0 / 0.6999 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009845/0.5185, allocations: 0.5184 MB / 0.7004 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.5185, allocations: 8 kB / 0.7004 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5185, allocations: 0 / 0.7004 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.5185, allocations: 8 kB / 0.7005 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.5191, allocations: 87.81 kB / 0.7005 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.5191, allocations: 4 kB / 0.7005 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.5194, allocations: 35.77 kB / 0.7006 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.5195, allocations: 23.94 kB / 0.7006 GB, free: 3.973 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.0001838/0.5197, allocations: 153.7 kB / 0.7007 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5198, allocations: 19.91 kB / 0.7008 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009754/0.5208, allocations: 0.4905 MB / 0.7012 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.5208, allocations: 0 / 0.7012 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5208, allocations: 4 kB / 0.7012 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5208, allocations: 0 / 0.7012 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/0.5215, allocations: 385.2 kB / 0.7016 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5215, allocations: 0 / 0.7016 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.522, allocations: 51.95 kB / 0.7017 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.522, allocations: 4 kB / 0.7017 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/0.522, allocations: 15.92 kB / 0.7017 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.522, allocations: 0 / 0.7017 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.522, allocations: 15.98 kB / 0.7017 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.5232, allocations: 0.6885 MB / 0.7024 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.5232, allocations: 11.89 kB / 0.7024 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.5233, allocations: 8 kB / 0.7024 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.5237, allocations: 19.97 kB / 0.7024 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.5238, allocations: 19.97 kB / 0.7024 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.5238, allocations: 19.98 kB / 0.7024 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.342e-05/0.5239, allocations: 99.25 kB / 0.7025 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5239, allocations: 4 kB / 0.7025 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006648/0.5246, allocations: 175.5 kB / 0.7027 GB, free: 1.734 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.002138/0.5267, allocations: 1.463 MB / 0.7041 GB, free: 248 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008305/0.5275, allocations: 423.5 kB / 0.7045 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5275, allocations: 4.062 kB / 0.7045 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.5279, allocations: 207.8 kB / 0.7047 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006862/0.5286, allocations: 96.45 kB / 0.7048 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/0.533, allocations: 3.229 MB / 0.708 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.5331, allocations: 134.9 kB / 0.7081 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004569/0.5336, allocations: 113.8 kB / 0.7082 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.5338, allocations: 55.42 kB / 0.7083 GB, free: 11.82 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.5338, allocations: 0 / 0.7083 GB, free: 11.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04191/0.5757, allocations: 11.35 MB / 0.7194 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.94, allocations: 6.641 kB / 0.7194 GB, free: 0.668 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.97516697505489]