Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 110.6 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 185.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2143/0.2143, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1122, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3991/0.5114, allocations: 151 MB / 0.6348 GB, free: 4.047 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.5139, allocations: 2.083 MB / 0.6369 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.5139, allocations: 4 kB / 0.6369 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.5143, allocations: 47.72 kB / 0.6369 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.5157, allocations: 0.6066 MB / 0.6375 GB, free: 1.309 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.516, allocations: 118.6 kB / 0.6376 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.5163, allocations: 255 kB / 0.6379 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.5164, allocations: 7.984 kB / 0.6379 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.5166, allocations: 142.8 kB / 0.638 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.5168, allocations: 91.66 kB / 0.6381 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.5169, allocations: 8 kB / 0.6381 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.5184, allocations: 0.83 MB / 0.6389 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.5185, allocations: 79.84 kB / 0.639 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.5186, allocations: 99.58 kB / 0.6391 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009789/0.5196, allocations: 0.6425 MB / 0.6397 GB, free: 15.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5196, allocations: 0 / 0.6397 GB, free: 15.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5196, allocations: 0 / 0.6397 GB, free: 15.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.5197, allocations: 3.984 kB / 0.6397 GB, free: 15.05 MB / 494.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.0007984/0.5205, allocations: 0.4987 MB / 0.6402 GB, free: 14.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5205, allocations: 15.89 kB / 0.6402 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.761e-05/0.5206, allocations: 50.73 kB / 0.6403 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.5224, allocations: 272.5 kB / 0.6405 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.5228, allocations: 276.1 kB / 0.6408 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.5229, allocations: 8.703 kB / 0.6408 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.5229, allocations: 23.89 kB / 0.6408 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.5237, allocations: 0.5083 MB / 0.6413 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5237, allocations: 0 / 0.6413 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.5238, allocations: 11.22 kB / 0.6413 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.5238, allocations: 12 kB / 0.6414 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008656/0.5247, allocations: 0.5783 MB / 0.6419 GB, free: 12.71 MB / 494.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.002138/0.5268, allocations: 1.012 MB / 0.6429 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.5272, allocations: 241.1 kB / 0.6431 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.5275, allocations: 189.6 kB / 0.6433 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007316/0.5282, allocations: 274.1 kB / 0.6436 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.5283, allocations: 46.53 kB / 0.6436 GB, free: 10.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.5283, allocations: 0 / 0.6436 GB, free: 10.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001921/0.5302, allocations: 0.5874 MB / 0.6442 GB, free: 10.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.5303, allocations: 89.05 kB / 0.6443 GB, free: 10.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.5304, allocations: 125.8 kB / 0.6444 GB, free: 10.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.5304, allocations: 29.7 kB / 0.6444 GB, free: 9.973 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.5305, allocations: 124.5 kB / 0.6445 GB, free: 9.848 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.937e-05/0.5306, allocations: 115 kB / 0.6447 GB, free: 9.734 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.5308, allocations: 61.7 kB / 0.6447 GB, free: 9.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5309, allocations: 334.8 kB / 0.645 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.5313, allocations: 179.9 kB / 0.6452 GB, free: 9.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.5317, allocations: 284.8 kB / 0.6455 GB, free: 8.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.5325, allocations: 495.8 kB / 0.646 GB, free: 8.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5325, allocations: 3.938 kB / 0.646 GB, free: 8.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009706/0.5335, allocations: 0.5207 MB / 0.6465 GB, free: 7.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.5335, allocations: 4 kB / 0.6465 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5336, allocations: 4 kB / 0.6465 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.5336, allocations: 8 kB / 0.6465 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.5341, allocations: 79.89 kB / 0.6466 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.5341, allocations: 8.922 kB / 0.6466 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.5345, allocations: 35.77 kB / 0.6466 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.5346, allocations: 20.22 kB / 0.6466 GB, free: 7.617 MB / 494.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.0001677/0.5347, allocations: 145.7 kB / 0.6468 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.5349, allocations: 23.84 kB / 0.6468 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009882/0.5359, allocations: 496.8 kB / 0.6473 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5359, allocations: 4 kB / 0.6473 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.5359, allocations: 7.984 kB / 0.6473 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5359, allocations: 0 / 0.6473 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/0.5367, allocations: 462.1 kB / 0.6477 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.5367, allocations: 4 kB / 0.6477 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.5372, allocations: 59.89 kB / 0.6478 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.5372, allocations: 8 kB / 0.6478 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.5372, allocations: 8 kB / 0.6478 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5372, allocations: 0 / 0.6478 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5373, allocations: 0 / 0.6478 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.5384, allocations: 0.6957 MB / 0.6485 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.5385, allocations: 101 kB / 0.6486 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.5385, allocations: 7.625 kB / 0.6486 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/0.539, allocations: 23.97 kB / 0.6486 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.5391, allocations: 19.92 kB / 0.6486 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/0.5391, allocations: 15.98 kB / 0.6486 GB, free: 5.469 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.181e-05/0.5392, allocations: 99.27 kB / 0.6487 GB, free: 5.371 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5392, allocations: 0 / 0.6487 GB, free: 5.371 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000623/0.5398, allocations: 159.7 kB / 0.6489 GB, free: 5.215 MB / 494.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.00215/0.542, allocations: 1.466 MB / 0.6503 GB, free: 3.719 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008125/0.5428, allocations: 455.7 kB / 0.6507 GB, free: 3.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5428, allocations: 0 / 0.6507 GB, free: 3.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.5432, allocations: 211.8 kB / 0.6509 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/0.5439, allocations: 98.84 kB / 0.651 GB, free: 2.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.5483, allocations: 3.22 MB / 0.6542 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.5487, allocations: 0.7401 MB / 0.6549 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004711/0.5492, allocations: 113.8 kB / 0.655 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.5494, allocations: 59.41 kB / 0.6551 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.5494, allocations: 0 / 0.6551 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.5846, allocations: 10.38 MB / 0.6652 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.612, allocations: 7.938 kB / 0.6652 GB, free: 4.266 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.0004 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches