Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001732/0.001732, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001954/0.001954, allocations: 209.4 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00178/0.00178, allocations: 58.58 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2469, allocations: 49.15 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1646/0.4115, allocations: 129.9 MB / 0.5139 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.4141, allocations: 1.885 MB / 0.5157 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.4142, allocations: 4 kB / 0.5157 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.4145, allocations: 43.69 kB / 0.5158 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.4161, allocations: 0.63 MB / 0.5164 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.4164, allocations: 103.8 kB / 0.5165 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.4168, allocations: 270.9 kB / 0.5167 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.4169, allocations: 4 kB / 0.5167 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.4171, allocations: 139.4 kB / 0.5169 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.4173, allocations: 95.64 kB / 0.517 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.4174, allocations: 8 kB / 0.517 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.4188, allocations: 0.7402 MB / 0.5177 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.4189, allocations: 79.83 kB / 0.5178 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.419, allocations: 83.7 kB / 0.5178 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009498/0.42, allocations: 0.6451 MB / 0.5185 GB, free: 12.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.42, allocations: 0 / 0.5185 GB, free: 12.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.42, allocations: 4 kB / 0.5185 GB, free: 12.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.42, allocations: 4 kB / 0.5185 GB, free: 12.08 MB / 446.1 MB 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.0007941/0.4208, allocations: 437.4 kB / 0.5189 GB, free: 11.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4208, allocations: 11.98 kB / 0.5189 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.619e-05/0.4209, allocations: 54.73 kB / 0.519 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.4227, allocations: 268.5 kB / 0.5192 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.4232, allocations: 218.2 kB / 0.5194 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.4232, allocations: 16.45 kB / 0.5194 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.628e-05/0.4233, allocations: 16 kB / 0.5195 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008979/0.4242, allocations: 0.6551 MB / 0.5201 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4242, allocations: 7.938 kB / 0.5201 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.4243, allocations: 4 kB / 0.5201 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.4243, allocations: 11.98 kB / 0.5201 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008847/0.4252, allocations: 0.5816 MB / 0.5207 GB, free: 9.707 MB / 446.1 MB 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.002213/0.4274, allocations: 0.9483 MB / 0.5216 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.4278, allocations: 245 kB / 0.5218 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.4281, allocations: 173.6 kB / 0.522 GB, free: 8.277 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006713/0.4287, allocations: 131.9 kB / 0.5221 GB, free: 8.148 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.4288, allocations: 38.56 kB / 0.5222 GB, free: 8.102 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.614e-06/0.4288, allocations: 3.938 kB / 0.5222 GB, free: 8.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001976/0.4307, allocations: 0.5796 MB / 0.5227 GB, free: 7.512 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.4308, allocations: 89.05 kB / 0.5228 GB, free: 7.406 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.4309, allocations: 129.8 kB / 0.523 GB, free: 7.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.431, allocations: 29.7 kB / 0.523 GB, free: 7.234 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.4311, allocations: 124.6 kB / 0.5231 GB, free: 7.109 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.4312, allocations: 115.1 kB / 0.5232 GB, free: 6.996 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.4313, allocations: 57.7 kB / 0.5233 GB, free: 6.934 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4315, allocations: 330.8 kB / 0.5236 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.4318, allocations: 183.9 kB / 0.5238 GB, free: 6.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.4322, allocations: 288.5 kB / 0.524 GB, free: 6.094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/0.433, allocations: 497.2 kB / 0.5245 GB, free: 5.562 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.433, allocations: 0 / 0.5245 GB, free: 5.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009768/0.434, allocations: 0.5244 MB / 0.525 GB, free: 5.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.434, allocations: 8 kB / 0.525 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.434, allocations: 11.98 kB / 0.525 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.4341, allocations: 4.406 kB / 0.525 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/0.4346, allocations: 83.89 kB / 0.5251 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.4346, allocations: 8.375 kB / 0.5251 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.435, allocations: 39.7 kB / 0.5252 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.435, allocations: 20 kB / 0.5252 GB, free: 4.859 MB / 446.1 MB 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.0001818/0.4352, allocations: 153.6 kB / 0.5253 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.4353, allocations: 15.91 kB / 0.5254 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.4363, allocations: 494 kB / 0.5258 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.4363, allocations: 4 kB / 0.5258 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.4364, allocations: 3.984 kB / 0.5258 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4364, allocations: 0 / 0.5258 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007218/0.4371, allocations: 385.2 kB / 0.5262 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4371, allocations: 0 / 0.5262 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.4376, allocations: 63.89 kB / 0.5263 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.4376, allocations: 0 / 0.5263 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.4376, allocations: 11.98 kB / 0.5263 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4376, allocations: 4 kB / 0.5263 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4376, allocations: 0 / 0.5263 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.4387, allocations: 0.68 MB / 0.5269 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.4388, allocations: 15.84 kB / 0.527 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/0.4388, allocations: 12 kB / 0.527 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.4393, allocations: 23.97 kB / 0.527 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.4394, allocations: 15.91 kB / 0.527 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.4394, allocations: 19.98 kB / 0.527 GB, free: 2.906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.449e-05/0.4395, allocations: 103.6 kB / 0.5271 GB, free: 2.805 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4395, allocations: 3.938 kB / 0.5271 GB, free: 2.801 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006349/0.4401, allocations: 163.6 kB / 0.5273 GB, free: 2.641 MB / 446.1 MB 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.002142/0.4423, allocations: 1.473 MB / 0.5287 GB, free: 1.137 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00081/0.4431, allocations: 415.5 kB / 0.5291 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.4431, allocations: 4 kB / 0.5291 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.4435, allocations: 212.5 kB / 0.5293 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.4442, allocations: 94.66 kB / 0.5294 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/0.4486, allocations: 3.241 MB / 0.5326 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.4488, allocations: 131 kB / 0.5327 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004737/0.4492, allocations: 113.8 kB / 0.5328 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.4494, allocations: 51.42 kB / 0.5329 GB, free: 12.71 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4494, allocations: 0 / 0.5329 GB, free: 12.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.4926, allocations: 11.47 MB / 0.5441 GB, free: 1.168 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.12, allocations: 0 / 0.5441 GB, free: 1.168 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.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 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.64200770528987]