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.001728/0.001728, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.002045/0.002045, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.617/1.617, allocations: 230.5 MB / 254 MB, free: 15.16 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.2405/0.2405, allocations: 46.92 MB / 357 MB, free: 10.2 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.002409/0.002409, allocations: 75.89 kB / 0.491 GB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1312, allocations: 66.05 MB / 0.5555 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.444/0.5752, allocations: 153 MB / 0.7049 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002812/0.578, allocations: 2.195 MB / 0.707 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.5781, allocations: 0 / 0.707 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.5784, allocations: 59.72 kB / 0.7071 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.58, allocations: 0.6398 MB / 0.7077 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.5804, allocations: 108.8 kB / 0.7078 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.5808, allocations: 259 kB / 0.7081 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.5808, allocations: 7.984 kB / 0.7081 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003291/0.5812, allocations: 147.4 kB / 0.7082 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.5814, allocations: 95.64 kB / 0.7083 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.5814, allocations: 8 kB / 0.7083 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.5831, allocations: 0.8846 MB / 0.7092 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.5832, allocations: 79.77 kB / 0.7093 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.5833, allocations: 99.59 kB / 0.7094 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.5844, allocations: 0.6657 MB / 0.71 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5844, allocations: 0 / 0.71 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5844, allocations: 0 / 0.71 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.5844, allocations: 0 / 0.71 GB, free: 2.938 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.0008496/0.5852, allocations: 0.5025 MB / 0.7105 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.5853, allocations: 8.031 kB / 0.7105 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.04e-05/0.5854, allocations: 62.72 kB / 0.7106 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.5874, allocations: 268.5 kB / 0.7108 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.5878, allocations: 280.1 kB / 0.7111 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.5878, allocations: 16.27 kB / 0.7111 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.5879, allocations: 20 kB / 0.7111 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.5887, allocations: 0.4889 MB / 0.7116 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.5887, allocations: 0 / 0.7116 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.5888, allocations: 10.16 kB / 0.7116 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.5888, allocations: 16.38 kB / 0.7116 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009139/0.5897, allocations: 0.5817 MB / 0.7122 GB, free: 0.5977 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.002276/0.592, allocations: 1 MB / 0.7132 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.5924, allocations: 240.8 kB / 0.7134 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.5927, allocations: 177.8 kB / 0.7136 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009363/0.5936, allocations: 391.1 kB / 0.7139 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.5936, allocations: 42.55 kB / 0.714 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/0.5936, allocations: 0 / 0.714 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.00209/0.5957, allocations: 0.5942 MB / 0.7146 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.5958, allocations: 85.11 kB / 0.7146 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.5959, allocations: 130.9 kB / 0.7148 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.596, allocations: 29.7 kB / 0.7148 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.596, allocations: 120.5 kB / 0.7149 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.5961, allocations: 111.1 kB / 0.715 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.5963, allocations: 65.47 kB / 0.7151 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5964, allocations: 326.8 kB / 0.7154 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.5968, allocations: 183.9 kB / 0.7156 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.5972, allocations: 293.1 kB / 0.7158 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008282/0.598, allocations: 498.9 kB / 0.7163 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.5981, allocations: 4 kB / 0.7163 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001032/0.5991, allocations: 0.5205 MB / 0.7168 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.5991, allocations: 4 kB / 0.7168 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.5991, allocations: 7.938 kB / 0.7168 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.5991, allocations: 4 kB / 0.7168 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.5997, allocations: 84.3 kB / 0.7169 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.5997, allocations: 7.984 kB / 0.7169 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.6001, allocations: 39.77 kB / 0.717 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.6001, allocations: 12 kB / 0.717 GB, free: 11.39 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.0001762/0.6003, allocations: 153.6 kB / 0.7171 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.6004, allocations: 15.91 kB / 0.7171 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.6015, allocations: 493 kB / 0.7176 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.6015, allocations: 4 kB / 0.7176 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6015, allocations: 0 / 0.7176 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.6015, allocations: 7.984 kB / 0.7176 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007858/0.6023, allocations: 465.7 kB / 0.7181 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6023, allocations: 0 / 0.7181 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.6028, allocations: 59.91 kB / 0.7181 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.6028, allocations: 0 / 0.7181 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.6028, allocations: 12.86 kB / 0.7181 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6028, allocations: 4 kB / 0.7181 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6028, allocations: 0 / 0.7181 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.604, allocations: 0.6864 MB / 0.7188 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.6041, allocations: 96.94 kB / 0.7189 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.6042, allocations: 11.98 kB / 0.7189 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/0.6047, allocations: 18.86 kB / 0.7189 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.6047, allocations: 15.97 kB / 0.719 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.6048, allocations: 23.92 kB / 0.719 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.396e-05/0.6048, allocations: 99.7 kB / 0.7191 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6048, allocations: 0 / 0.7191 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006997/0.6055, allocations: 167.6 kB / 0.7192 GB, free: 8.996 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.002245/0.6078, allocations: 1.472 MB / 0.7207 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008434/0.6086, allocations: 431.5 kB / 0.7211 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6086, allocations: 0 / 0.7211 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.609, allocations: 207.8 kB / 0.7213 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.6097, allocations: 98.16 kB / 0.7214 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/0.6143, allocations: 3.225 MB / 0.7245 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.6146, allocations: 0.744 MB / 0.7252 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004861/0.6151, allocations: 109.8 kB / 0.7254 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.6153, allocations: 67.41 kB / 0.7254 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.6153, allocations: 0 / 0.7254 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.6526, allocations: 10.38 MB / 0.7356 GB, free: 8.145 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.862, allocations: 10.44 kB / 0.7356 GB, free: 8.137 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.247034157975577]