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.001244/0.001244, allocations: 107.5 kB / 16.41 MB, free: 6.465 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.001024/0.001024, allocations: 185.5 kB / 17.34 MB, free: 5.719 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.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2118/0.2118, allocations: 43.52 MB / 314.1 MB, free: 456 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.001406/0.001406, allocations: 69.62 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3891/0.4952, allocations: 151 MB / 0.6348 GB, free: 4.008 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.4976, allocations: 2.086 MB / 0.6369 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.4978, allocations: 4 kB / 0.6369 GB, free: 1.926 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.4982, allocations: 55.66 kB / 0.6369 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.5, allocations: 0.6105 MB / 0.6375 GB, free: 1.258 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.5004, allocations: 113.5 kB / 0.6376 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.5008, allocations: 259 kB / 0.6379 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.678e-05/0.5008, allocations: 11.98 kB / 0.6379 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.5011, allocations: 142.8 kB / 0.638 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.5013, allocations: 91.7 kB / 0.6381 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.5014, allocations: 8 kB / 0.6381 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.5029, allocations: 0.8261 MB / 0.6389 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.503, allocations: 79.83 kB / 0.639 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.5031, allocations: 103.5 kB / 0.6391 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.5043, allocations: 0.6348 MB / 0.6397 GB, free: 15.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5043, allocations: 4 kB / 0.6397 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5043, allocations: 0 / 0.6397 GB, free: 15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.5043, allocations: 0 / 0.6397 GB, free: 15 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.0008418/0.5052, allocations: 0.4986 MB / 0.6402 GB, free: 14.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.5052, allocations: 15.89 kB / 0.6402 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.138e-05/0.5053, allocations: 54.73 kB / 0.6403 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.5072, allocations: 268.5 kB / 0.6405 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.5077, allocations: 276.1 kB / 0.6408 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.5077, allocations: 16.7 kB / 0.6408 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/0.5078, allocations: 19.89 kB / 0.6408 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.5085, allocations: 0.5083 MB / 0.6413 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5086, allocations: 0 / 0.6413 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.5086, allocations: 15.92 kB / 0.6414 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.5086, allocations: 8 kB / 0.6414 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000792/0.5094, allocations: 0.5822 MB / 0.6419 GB, free: 12.65 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.002088/0.5115, allocations: 1.012 MB / 0.6429 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.5119, allocations: 241.1 kB / 0.6431 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.5122, allocations: 193.5 kB / 0.6433 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007944/0.513, allocations: 278.2 kB / 0.6436 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.513, allocations: 38.91 kB / 0.6436 GB, free: 10.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.513, allocations: 0 / 0.6436 GB, free: 10.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.002005/0.515, allocations: 0.5873 MB / 0.6442 GB, free: 10.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.5151, allocations: 85.11 kB / 0.6443 GB, free: 10.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.5152, allocations: 126.5 kB / 0.6444 GB, free: 9.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.5153, allocations: 33.7 kB / 0.6444 GB, free: 9.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.5154, allocations: 116.5 kB / 0.6446 GB, free: 9.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/0.5154, allocations: 115 kB / 0.6447 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.5156, allocations: 61.7 kB / 0.6447 GB, free: 9.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5157, allocations: 334.8 kB / 0.645 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.516, allocations: 179.9 kB / 0.6452 GB, free: 9.102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.5164, allocations: 296 kB / 0.6455 GB, free: 8.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.5171, allocations: 489.2 kB / 0.646 GB, free: 8.246 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5171, allocations: 4 kB / 0.646 GB, free: 8.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008842/0.518, allocations: 0.5201 MB / 0.6465 GB, free: 7.719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5181, allocations: 8.406 kB / 0.6465 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.5181, allocations: 8 kB / 0.6465 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.5181, allocations: 4 kB / 0.6465 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/0.5186, allocations: 79.89 kB / 0.6466 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.5186, allocations: 11.92 kB / 0.6466 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.519, allocations: 35.77 kB / 0.6466 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.5191, allocations: 20.7 kB / 0.6466 GB, free: 7.555 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.0001456/0.5193, allocations: 137.8 kB / 0.6468 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.5194, allocations: 23.84 kB / 0.6468 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008945/0.5203, allocations: 497 kB / 0.6473 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.5203, allocations: 11.94 kB / 0.6473 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5203, allocations: 3.984 kB / 0.6473 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5203, allocations: 0 / 0.6473 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.521, allocations: 466 kB / 0.6477 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.521, allocations: 0 / 0.6477 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.5215, allocations: 55.91 kB / 0.6478 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.5215, allocations: 7.984 kB / 0.6478 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.5216, allocations: 8 kB / 0.6478 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.5216, allocations: 0 / 0.6478 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5216, allocations: 4 kB / 0.6478 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.5226, allocations: 0.6988 MB / 0.6485 GB, free: 5.586 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.5227, allocations: 100.9 kB / 0.6486 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.5227, allocations: 9 kB / 0.6486 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004886/0.5232, allocations: 15.98 kB / 0.6486 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.5233, allocations: 23.97 kB / 0.6486 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.5233, allocations: 19.98 kB / 0.6486 GB, free: 5.402 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.874e-05/0.5234, allocations: 99.64 kB / 0.6487 GB, free: 5.305 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5234, allocations: 0 / 0.6487 GB, free: 5.305 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006362/0.524, allocations: 159.7 kB / 0.6489 GB, free: 5.148 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.002081/0.5261, allocations: 1.458 MB / 0.6503 GB, free: 3.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000772/0.5269, allocations: 443.5 kB / 0.6507 GB, free: 3.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5269, allocations: 0 / 0.6507 GB, free: 3.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.5273, allocations: 216.2 kB / 0.6509 GB, free: 3.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007023/0.528, allocations: 107.7 kB / 0.651 GB, free: 2.918 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.532, allocations: 3.214 MB / 0.6542 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.5323, allocations: 0.7401 MB / 0.6549 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004665/0.5328, allocations: 113.8 kB / 0.655 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.533, allocations: 63.41 kB / 0.6551 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.533, allocations: 4 kB / 0.6551 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.5626, allocations: 10.38 MB / 0.6652 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.949, allocations: 7.938 kB / 0.6652 GB, free: 4.199 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