Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 111.1 kB / 20.44 MB, free: 1.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 213.4 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2537/0.2537, allocations: 46.95 MB / 360.8 MB, free: 3.961 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 79.86 kB / 0.4961 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3383, allocations: 66.09 MB / 0.5607 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1918/0.5302, allocations: 131.5 MB / 0.6891 GB, free: 36 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.5331, allocations: 1.974 MB / 0.691 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.643e-05/0.5331, allocations: 0 / 0.691 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.5335, allocations: 43.73 kB / 0.6911 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.5351, allocations: 0.6492 MB / 0.6917 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.5355, allocations: 103 kB / 0.6918 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000365/0.5358, allocations: 263 kB / 0.6921 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.5359, allocations: 7.984 kB / 0.6921 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.5362, allocations: 151.4 kB / 0.6922 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.5364, allocations: 95.7 kB / 0.6923 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.5364, allocations: 8 kB / 0.6923 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.5379, allocations: 0.7793 MB / 0.6931 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.538, allocations: 91.69 kB / 0.6932 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.5382, allocations: 83.72 kB / 0.6932 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.5393, allocations: 0.6525 MB / 0.6939 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.5393, allocations: 4 kB / 0.6939 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5393, allocations: 0 / 0.6939 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.5393, allocations: 7.875 kB / 0.6939 GB, free: 11.13 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.0009784/0.5402, allocations: 441.5 kB / 0.6943 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.5403, allocations: 8.031 kB / 0.6943 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.746e-05/0.5404, allocations: 54.73 kB / 0.6944 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.5425, allocations: 276.5 kB / 0.6946 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.5429, allocations: 221.8 kB / 0.6948 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.5429, allocations: 12.33 kB / 0.6949 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.543, allocations: 20 kB / 0.6949 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008899/0.5439, allocations: 0.6396 MB / 0.6955 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5439, allocations: 0 / 0.6955 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.5439, allocations: 12 kB / 0.6955 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.544, allocations: 8 kB / 0.6955 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008999/0.5449, allocations: 0.5777 MB / 0.6961 GB, free: 8.773 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.00228/0.5471, allocations: 0.9443 MB / 0.697 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.5476, allocations: 233 kB / 0.6972 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.5478, allocations: 181.6 kB / 0.6974 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008789/0.5487, allocations: 151.8 kB / 0.6976 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.5487, allocations: 38.56 kB / 0.6976 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.5487, allocations: 0 / 0.6976 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.00195/0.5507, allocations: 0.6022 MB / 0.6982 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.5507, allocations: 89.09 kB / 0.6983 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.5509, allocations: 125.8 kB / 0.6984 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.5509, allocations: 33.7 kB / 0.6984 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.551, allocations: 124.4 kB / 0.6985 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.5511, allocations: 107.1 kB / 0.6986 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.5512, allocations: 73.47 kB / 0.6987 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5514, allocations: 326.8 kB / 0.699 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.5517, allocations: 183.9 kB / 0.6992 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004233/0.5522, allocations: 292.5 kB / 0.6995 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007691/0.5529, allocations: 491.2 kB / 0.6999 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5529, allocations: 4 kB / 0.6999 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009809/0.5539, allocations: 0.517 MB / 0.7004 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5539, allocations: 4 kB / 0.7004 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5539, allocations: 4 kB / 0.7005 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.554, allocations: 11.98 kB / 0.7005 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.5545, allocations: 83.83 kB / 0.7005 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.5545, allocations: 7.938 kB / 0.7006 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.5549, allocations: 35.77 kB / 0.7006 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.5549, allocations: 23.94 kB / 0.7006 GB, free: 3.906 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.000184/0.5551, allocations: 147 kB / 0.7007 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.5552, allocations: 27.92 kB / 0.7008 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.5562, allocations: 494.2 kB / 0.7012 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5562, allocations: 4 kB / 0.7013 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5562, allocations: 4 kB / 0.7013 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5562, allocations: 0 / 0.7013 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.5569, allocations: 385.1 kB / 0.7016 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.5569, allocations: 4 kB / 0.7016 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004966/0.5574, allocations: 47.97 kB / 0.7017 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.5574, allocations: 7.938 kB / 0.7017 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.5575, allocations: 11.98 kB / 0.7017 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5575, allocations: 0 / 0.7017 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5575, allocations: 0 / 0.7017 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.5586, allocations: 0.6904 MB / 0.7024 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.5587, allocations: 19.84 kB / 0.7024 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.5587, allocations: 11.98 kB / 0.7024 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.5592, allocations: 19.97 kB / 0.7024 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.5593, allocations: 23.95 kB / 0.7024 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/0.5593, allocations: 15.98 kB / 0.7025 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.5594, allocations: 103.6 kB / 0.7026 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5594, allocations: 3.938 kB / 0.7026 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007293/0.5601, allocations: 171.6 kB / 0.7027 GB, free: 1.676 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.002132/0.5622, allocations: 1.454 MB / 0.7041 GB, free: 196 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008217/0.5631, allocations: 424.2 kB / 0.7045 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5631, allocations: 0 / 0.7045 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.5634, allocations: 216 kB / 0.7048 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006821/0.5641, allocations: 96.42 kB / 0.7048 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.5685, allocations: 3.241 MB / 0.708 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.5687, allocations: 126.9 kB / 0.7081 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004714/0.5692, allocations: 109.8 kB / 0.7082 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.5693, allocations: 63.41 kB / 0.7083 GB, free: 11.75 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.5693, allocations: 0 / 0.7083 GB, free: 11.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04191/0.6113, allocations: 11.47 MB / 0.7195 GB, free: 448 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.16, allocations: 4.062 kB / 0.7195 GB, free: 444 kB / 0.545 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.151960606999637]