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.001981/0.001981, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.003115/0.003115, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.579/1.579, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2213/0.2213, allocations: 44.93 MB / 358.8 MB, free: 6.137 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.002153/0.002153, allocations: 71.86 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3412, allocations: 65.47 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1802/0.5214, allocations: 131.6 MB / 0.6855 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002573/0.5239, allocations: 1.978 MB / 0.6874 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.524, allocations: 0 / 0.6874 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.5243, allocations: 47.67 kB / 0.6875 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.5259, allocations: 0.6493 MB / 0.6881 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.5262, allocations: 103.2 kB / 0.6882 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.5265, allocations: 267 kB / 0.6885 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.5265, allocations: 4 kB / 0.6885 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.5268, allocations: 147.4 kB / 0.6886 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.527, allocations: 95.69 kB / 0.6887 GB, free: 124 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.527, allocations: 11.94 kB / 0.6887 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.5284, allocations: 0.7637 MB / 0.6894 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.5285, allocations: 83.66 kB / 0.6895 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.5286, allocations: 91.7 kB / 0.6896 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008994/0.5295, allocations: 0.6525 MB / 0.6903 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5295, allocations: 4 kB / 0.6903 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5295, allocations: 4 kB / 0.6903 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5295, allocations: 0 / 0.6903 GB, free: 14.51 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.0007428/0.5302, allocations: 441.4 kB / 0.6907 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5303, allocations: 8.031 kB / 0.6907 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.421e-05/0.5303, allocations: 54.73 kB / 0.6907 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.5322, allocations: 272.5 kB / 0.691 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.5327, allocations: 225.8 kB / 0.6912 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.5327, allocations: 16.33 kB / 0.6912 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.5327, allocations: 16 kB / 0.6912 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008353/0.5336, allocations: 0.6434 MB / 0.6919 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.5336, allocations: 0 / 0.6919 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/0.5336, allocations: 15.98 kB / 0.6919 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.5337, allocations: 8 kB / 0.6919 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008491/0.5345, allocations: 0.57 MB / 0.6925 GB, free: 12.15 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.002188/0.5367, allocations: 0.9483 MB / 0.6934 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.5371, allocations: 229.1 kB / 0.6936 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.5373, allocations: 185.6 kB / 0.6938 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007809/0.5381, allocations: 147.8 kB / 0.6939 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.5382, allocations: 38.5 kB / 0.694 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 5.14e-06/0.5382, allocations: 7.984 kB / 0.694 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002009/0.5402, allocations: 0.5974 MB / 0.6945 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.5402, allocations: 81.11 kB / 0.6946 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.5404, allocations: 133.8 kB / 0.6947 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.5404, allocations: 29.7 kB / 0.6948 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.5405, allocations: 120.5 kB / 0.6949 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.5406, allocations: 107.1 kB / 0.695 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.5407, allocations: 69.47 kB / 0.6951 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5409, allocations: 326.8 kB / 0.6954 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.5412, allocations: 191.9 kB / 0.6956 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.5416, allocations: 293.5 kB / 0.6958 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007659/0.5424, allocations: 0.4883 MB / 0.6963 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5424, allocations: 0 / 0.6963 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009493/0.5434, allocations: 0.5205 MB / 0.6968 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5434, allocations: 10.81 kB / 0.6968 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5434, allocations: 3.938 kB / 0.6968 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.5434, allocations: 8 kB / 0.6968 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.5439, allocations: 79.89 kB / 0.6969 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.5439, allocations: 7.938 kB / 0.6969 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.5443, allocations: 36.17 kB / 0.697 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/0.5444, allocations: 27.98 kB / 0.697 GB, free: 7.277 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.0001606/0.5446, allocations: 145.6 kB / 0.6971 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.5447, allocations: 19.91 kB / 0.6971 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009484/0.5456, allocations: 486.1 kB / 0.6976 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5456, allocations: 0 / 0.6976 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5456, allocations: 4 kB / 0.6976 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5456, allocations: 3.984 kB / 0.6976 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/0.5463, allocations: 385 kB / 0.698 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5463, allocations: 4 kB / 0.698 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.5468, allocations: 59.89 kB / 0.698 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.5468, allocations: 8 kB / 0.6981 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/0.5469, allocations: 8 kB / 0.6981 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.5469, allocations: 4 kB / 0.6981 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5469, allocations: 4 kB / 0.6981 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.548, allocations: 0.6878 MB / 0.6987 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.5481, allocations: 19.83 kB / 0.6988 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.5481, allocations: 12 kB / 0.6988 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.5486, allocations: 19.97 kB / 0.6988 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.5486, allocations: 19.97 kB / 0.6988 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.5487, allocations: 15.98 kB / 0.6988 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.864e-05/0.5487, allocations: 99.27 kB / 0.6989 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.5487, allocations: 0 / 0.6989 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006652/0.5494, allocations: 171.6 kB / 0.6991 GB, free: 5.059 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.002097/0.5515, allocations: 1.463 MB / 0.7005 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008289/0.5523, allocations: 435.1 kB / 0.7009 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5523, allocations: 0 / 0.7009 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.5527, allocations: 207.8 kB / 0.7011 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.5534, allocations: 92.66 kB / 0.7012 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.5578, allocations: 3.226 MB / 0.7044 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.5579, allocations: 134.9 kB / 0.7045 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004651/0.5584, allocations: 113.7 kB / 0.7046 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.5586, allocations: 63.41 kB / 0.7047 GB, free: 15.14 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.5586, allocations: 0 / 0.7047 GB, free: 15.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.6007, allocations: 11.36 MB / 0.7157 GB, free: 3.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.78, allocations: 9.172 kB / 0.7158 GB, free: 3.98 MB / 0.545 GB " [Timeout remaining time 648] (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: 14.969393136911094]