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.001812/0.001812, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.002105/0.002105, allocations: 211.3 kB / 21.41 MB, free: 1.672 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.506/1.506, allocations: 207.6 MB / 231.8 MB, free: 4.191 MB / 174.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.001752/0.001752, allocations: 51.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.09666, allocations: 49.13 MB / 391.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3835/0.4802, allocations: 151.4 MB / 0.5301 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.483, allocations: 2.096 MB / 0.5322 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/0.4831, allocations: 0 / 0.5322 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.4835, allocations: 59.64 kB / 0.5322 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.485, allocations: 0.618 MB / 0.5328 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.4853, allocations: 111.8 kB / 0.5329 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.4856, allocations: 251.1 kB / 0.5332 GB, free: 8.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.4857, allocations: 5.312 kB / 0.5332 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.486, allocations: 143.4 kB / 0.5333 GB, free: 8.047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.4862, allocations: 91.7 kB / 0.5334 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.4862, allocations: 8 kB / 0.5334 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.4878, allocations: 0.8612 MB / 0.5342 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.4879, allocations: 83.7 kB / 0.5343 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.488, allocations: 99.64 kB / 0.5344 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.4891, allocations: 0.6452 MB / 0.5351 GB, free: 6.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4891, allocations: 4 kB / 0.5351 GB, free: 6.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4891, allocations: 0 / 0.5351 GB, free: 6.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.4891, allocations: 0 / 0.5351 GB, free: 6.258 MB / 414.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.0009697/0.4901, allocations: 0.5025 MB / 0.5355 GB, free: 5.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4901, allocations: 8.031 kB / 0.5356 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.306e-05/0.4902, allocations: 66.66 kB / 0.5356 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.4922, allocations: 258.3 kB / 0.5359 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.4926, allocations: 284.1 kB / 0.5361 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.4927, allocations: 12.7 kB / 0.5361 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/0.4927, allocations: 23.94 kB / 0.5362 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008161/0.4936, allocations: 0.4889 MB / 0.5366 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4936, allocations: 0 / 0.5366 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/0.4936, allocations: 8 kB / 0.5367 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.4937, allocations: 8 kB / 0.5367 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009373/0.4946, allocations: 0.5961 MB / 0.5372 GB, free: 3.914 MB / 414.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.002328/0.4969, allocations: 1.035 MB / 0.5383 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.4973, allocations: 235.7 kB / 0.5385 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.4976, allocations: 185.6 kB / 0.5387 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007851/0.4984, allocations: 274.1 kB / 0.5389 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.4984, allocations: 38.56 kB / 0.539 GB, free: 2.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.4984, allocations: 0 / 0.539 GB, free: 2.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.00217/0.5006, allocations: 0.5996 MB / 0.5395 GB, free: 1.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.5007, allocations: 81.11 kB / 0.5396 GB, free: 1.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.5008, allocations: 127.1 kB / 0.5397 GB, free: 1.203 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.5008, allocations: 29.7 kB / 0.5398 GB, free: 1.168 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.5009, allocations: 120.7 kB / 0.5399 GB, free: 1.047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.501, allocations: 107.1 kB / 0.54 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.5012, allocations: 69.64 kB / 0.5401 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5013, allocations: 330.8 kB / 0.5404 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/0.5018, allocations: 183.8 kB / 0.5405 GB, free: 364 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.5022, allocations: 292.5 kB / 0.5408 GB, free: 24 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008171/0.503, allocations: 495 kB / 0.5413 GB, free: 15.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.503, allocations: 0 / 0.5413 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009994/0.504, allocations: 0.5208 MB / 0.5418 GB, free: 14.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.504, allocations: 8.031 kB / 0.5418 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.504, allocations: 4 kB / 0.5418 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.5041, allocations: 8 kB / 0.5418 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.5046, allocations: 83.83 kB / 0.5419 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5046, allocations: 4 kB / 0.5419 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.505, allocations: 35.77 kB / 0.5419 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.5051, allocations: 27.92 kB / 0.542 GB, free: 14.8 MB / 430.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.0001703/0.5053, allocations: 137.8 kB / 0.5421 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5054, allocations: 27.83 kB / 0.5421 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.5064, allocations: 492.6 kB / 0.5426 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5064, allocations: 0 / 0.5426 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.5064, allocations: 4 kB / 0.5426 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5064, allocations: 3.938 kB / 0.5426 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007695/0.5072, allocations: 458 kB / 0.543 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5072, allocations: 7.438 kB / 0.543 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.5077, allocations: 51.95 kB / 0.5431 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.5077, allocations: 4 kB / 0.5431 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.5077, allocations: 15.98 kB / 0.5431 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5077, allocations: 0 / 0.5431 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5078, allocations: 7.938 kB / 0.5431 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.509, allocations: 0.6845 MB / 0.5438 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.5091, allocations: 96.95 kB / 0.5439 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.5091, allocations: 8 kB / 0.5439 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/0.5096, allocations: 27.97 kB / 0.5439 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.5097, allocations: 15.97 kB / 0.5439 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.5097, allocations: 19.92 kB / 0.544 GB, free: 12.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.694e-05/0.5098, allocations: 99.7 kB / 0.544 GB, free: 12.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5098, allocations: 0 / 0.544 GB, free: 12.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007529/0.5106, allocations: 155.7 kB / 0.5442 GB, free: 12.43 MB / 430.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.002434/0.513, allocations: 1.477 MB / 0.5456 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009242/0.5139, allocations: 416.4 kB / 0.546 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5139, allocations: 0 / 0.546 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.5143, allocations: 216.2 kB / 0.5462 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/0.5151, allocations: 89.42 kB / 0.5463 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.5199, allocations: 3.245 MB / 0.5495 GB, free: 6.801 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.5203, allocations: 0.7362 MB / 0.5502 GB, free: 6.039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004861/0.5208, allocations: 109.8 kB / 0.5503 GB, free: 5.934 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.521, allocations: 63.41 kB / 0.5504 GB, free: 5.871 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.521, allocations: 3.938 kB / 0.5504 GB, free: 5.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/0.5589, allocations: 10.49 MB / 0.5606 GB, free: 11.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/9.093, allocations: 3.938 kB / 0.5606 GB, free: 11.3 MB / 446.1 MB " [Timeout remaining time 651] (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: 11.710856199002592]