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.001335/0.001335, allocations: 102.9 kB / 16.41 MB, free: 6.5 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.001289/0.001289, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.46/1.46, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2719/0.2719, allocations: 43.52 MB / 314.1 MB, free: 448 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.001419/0.001419, allocations: 69.61 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1129, 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.4273/0.5403, allocations: 151 MB / 0.6348 GB, free: 4.031 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.5427, allocations: 2.082 MB / 0.6369 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.5429, allocations: 7.938 kB / 0.6369 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.5433, allocations: 53.72 kB / 0.6369 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.5448, allocations: 0.6063 MB / 0.6375 GB, free: 1.301 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.5451, allocations: 112.6 kB / 0.6376 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.5455, allocations: 259 kB / 0.6379 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.5455, allocations: 11.97 kB / 0.6379 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.5458, allocations: 131.5 kB / 0.638 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.546, allocations: 95.64 kB / 0.6381 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.546, allocations: 8 kB / 0.6381 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.5475, allocations: 0.8262 MB / 0.6389 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.5476, allocations: 87.75 kB / 0.639 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.5477, allocations: 95.59 kB / 0.6391 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009624/0.5487, allocations: 0.6391 MB / 0.6397 GB, free: 15.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5487, allocations: 0 / 0.6397 GB, free: 15.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.5487, allocations: 0 / 0.6397 GB, free: 15.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.5487, allocations: 3.938 kB / 0.6397 GB, free: 15.04 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.0008132/0.5496, allocations: 0.5031 MB / 0.6402 GB, free: 14.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5496, allocations: 15.89 kB / 0.6402 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/0.5497, allocations: 53.3 kB / 0.6403 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.5517, allocations: 268.4 kB / 0.6405 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.5521, allocations: 276 kB / 0.6408 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.5521, allocations: 12.7 kB / 0.6408 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.811e-05/0.5522, allocations: 27.91 kB / 0.6408 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007094/0.5529, allocations: 0.4966 MB / 0.6413 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.5529, allocations: 0 / 0.6413 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/0.553, allocations: 15.94 kB / 0.6413 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.553, allocations: 11.98 kB / 0.6413 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007902/0.5538, allocations: 0.586 MB / 0.6419 GB, free: 12.69 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.002106/0.5559, allocations: 0.9997 MB / 0.6429 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.5563, allocations: 246.4 kB / 0.6431 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.5565, allocations: 185.6 kB / 0.6433 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007745/0.5573, allocations: 270.1 kB / 0.6436 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.5574, allocations: 42.56 kB / 0.6436 GB, free: 10.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.5574, allocations: 0 / 0.6436 GB, free: 10.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001859/0.5592, allocations: 0.5962 MB / 0.6442 GB, free: 10.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.5593, allocations: 81.11 kB / 0.6443 GB, free: 10.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.5594, allocations: 125.8 kB / 0.6444 GB, free: 10 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.5595, allocations: 33.7 kB / 0.6444 GB, free: 9.965 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.5595, allocations: 112.4 kB / 0.6445 GB, free: 9.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.384e-05/0.5596, allocations: 114.4 kB / 0.6446 GB, free: 9.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.5598, allocations: 65.69 kB / 0.6447 GB, free: 9.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5599, allocations: 330.8 kB / 0.645 GB, free: 9.336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.5602, allocations: 179.9 kB / 0.6452 GB, free: 9.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.5607, allocations: 288.8 kB / 0.6455 GB, free: 8.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/0.5614, allocations: 499 kB / 0.6459 GB, free: 8.301 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.5614, allocations: 0 / 0.6459 GB, free: 8.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009034/0.5623, allocations: 0.5203 MB / 0.6464 GB, free: 7.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5623, allocations: 8 kB / 0.6464 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5623, allocations: 0 / 0.6464 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.5624, allocations: 8 kB / 0.6465 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.5629, allocations: 84.7 kB / 0.6465 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.5629, allocations: 4 kB / 0.6465 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.5633, allocations: 35.67 kB / 0.6466 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.5634, allocations: 23.98 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.0001634/0.5635, allocations: 145.9 kB / 0.6467 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.5637, allocations: 27.75 kB / 0.6468 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008976/0.5646, allocations: 496.8 kB / 0.6472 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5646, allocations: 3.938 kB / 0.6472 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.5646, allocations: 4 kB / 0.6472 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.5646, allocations: 3.984 kB / 0.6472 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007207/0.5653, allocations: 465.9 kB / 0.6477 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5653, allocations: 0.875 kB / 0.6477 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.5658, allocations: 51.95 kB / 0.6477 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5659, allocations: 11.94 kB / 0.6478 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.5659, allocations: 15.98 kB / 0.6478 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5659, allocations: 0 / 0.6478 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5659, allocations: 4 kB / 0.6478 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.567, allocations: 0.687 MB / 0.6484 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.5671, allocations: 106 kB / 0.6485 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.5672, allocations: 8 kB / 0.6485 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/0.5677, allocations: 19.97 kB / 0.6486 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.5677, allocations: 15.97 kB / 0.6486 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.5678, allocations: 19.98 kB / 0.6486 GB, free: 5.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.018e-05/0.5678, allocations: 95.27 kB / 0.6487 GB, free: 5.367 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5678, allocations: 3.938 kB / 0.6487 GB, free: 5.363 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00071/0.5686, allocations: 155.9 kB / 0.6488 GB, free: 5.211 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.002182/0.5708, allocations: 1.462 MB / 0.6503 GB, free: 3.719 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007622/0.5715, allocations: 440.3 kB / 0.6507 GB, free: 3.289 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5715, allocations: 4.062 kB / 0.6507 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.5719, allocations: 219.4 kB / 0.6509 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/0.5726, allocations: 88.55 kB / 0.651 GB, free: 2.988 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.5769, allocations: 3.228 MB / 0.6541 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.5773, allocations: 0.7439 MB / 0.6549 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004523/0.5777, allocations: 109.8 kB / 0.655 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.5779, allocations: 59.41 kB / 0.655 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.5779, allocations: 0 / 0.655 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/0.6224, allocations: 10.47 MB / 0.6653 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/8.209, allocations: 8 kB / 0.6653 GB, free: 4.172 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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