Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 174.1 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 225.7 MB / 243.9 MB, free: 8.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009039/0.000904, allocations: 92.39 kB / 295.1 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3561/0.3561, allocations: 44.31 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004168, allocations: 8 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4281, allocations: 61.9 MB / 0.5127 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.184/0.6121, allocations: 138.1 MB / 0.6476 GB, free: 3.359 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003557/0.6157, allocations: 3.507 MB / 0.651 GB, free: 15.52 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.6158, allocations: 4 kB / 0.651 GB, free: 15.51 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.6162, allocations: 55.78 kB / 0.651 GB, free: 15.46 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.6179, allocations: 0.5719 MB / 0.6516 GB, free: 14.88 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.6183, allocations: 107.7 kB / 0.6517 GB, free: 14.78 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.6188, allocations: 370.9 kB / 0.6521 GB, free: 14.41 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.6189, allocations: 4 kB / 0.6521 GB, free: 14.41 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.6192, allocations: 125.6 kB / 0.6522 GB, free: 14.29 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.6195, allocations: 111.6 kB / 0.6523 GB, free: 14.18 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.6195, allocations: 8 kB / 0.6523 GB, free: 14.17 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.6217, allocations: 1.239 MB / 0.6535 GB, free: 12.93 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.6218, allocations: 75.81 kB / 0.6536 GB, free: 12.86 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.622, allocations: 125.3 kB / 0.6537 GB, free: 12.73 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.6235, allocations: 0.752 MB / 0.6544 GB, free: 11.97 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.6235, allocations: 8 kB / 0.6544 GB, free: 11.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6236, allocations: 4 kB / 0.6544 GB, free: 11.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.6236, allocations: 0 / 0.6544 GB, free: 11.96 MB / 474.7 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.0008977/0.6245, allocations: 475.3 kB / 0.6549 GB, free: 11.45 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.6245, allocations: 8.031 kB / 0.6549 GB, free: 11.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006437/0.631, allocations: 0.7262 MB / 0.6556 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.6315, allocations: 283.7 kB / 0.6559 GB, free: 10.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.6315, allocations: 16.33 kB / 0.6559 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.6316, allocations: 16 kB / 0.6559 GB, free: 10.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.6331, allocations: 0.6953 MB / 0.6566 GB, free: 9.664 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.6331, allocations: 7.938 kB / 0.6566 GB, free: 9.656 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.6332, allocations: 8 kB / 0.6566 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.6332, allocations: 8 kB / 0.6566 GB, free: 9.641 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.6352, allocations: 0.9134 MB / 0.6575 GB, free: 8.727 MB / 474.7 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.004801/0.64, allocations: 1.997 MB / 0.6595 GB, free: 6.543 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.6411, allocations: 0.5125 MB / 0.66 GB, free: 6.012 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006371/0.6418, allocations: 325.5 kB / 0.6603 GB, free: 5.688 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009022/0.6427, allocations: 375.3 kB / 0.6606 GB, free: 5.266 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.6427, allocations: 34.56 kB / 0.6607 GB, free: 5.223 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 2.325e-06/0.6428, allocations: 4 kB / 0.6607 GB, free: 5.219 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.00217/0.6449, allocations: 0.89 MB / 0.6615 GB, free: 4.324 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/0.645, allocations: 89.05 kB / 0.6616 GB, free: 4.219 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.6452, allocations: 125.8 kB / 0.6617 GB, free: 4.086 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.6452, allocations: 33.7 kB / 0.6618 GB, free: 4.047 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.6453, allocations: 116.3 kB / 0.6619 GB, free: 3.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.6454, allocations: 110.5 kB / 0.662 GB, free: 3.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.6455, allocations: 8 kB / 0.662 GB, free: 3.812 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.6456, allocations: 326.8 kB / 0.6623 GB, free: 3.484 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.6462, allocations: 295.8 kB / 0.6626 GB, free: 3.195 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006899/0.6469, allocations: 409.3 kB / 0.663 GB, free: 2.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.6483, allocations: 0.6855 MB / 0.6637 GB, free: 2.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6483, allocations: 0 / 0.6637 GB, free: 2.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001629/0.6499, allocations: 0.7372 MB / 0.6644 GB, free: 1.277 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.65, allocations: 11.94 kB / 0.6644 GB, free: 1.266 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.65, allocations: 4.406 kB / 0.6644 GB, free: 1.262 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.65, allocations: 8 kB / 0.6644 GB, free: 1.254 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000971/0.651, allocations: 99.84 kB / 0.6645 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.651, allocations: 4 kB / 0.6645 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008308/0.6518, allocations: 59.64 kB / 0.6646 GB, free: 1.094 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.495e-05/0.6519, allocations: 16.38 kB / 0.6646 GB, free: 1.078 MB / 474.7 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.0002379/0.6522, allocations: 158.2 kB / 0.6647 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.6523, allocations: 15.89 kB / 0.6647 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.6543, allocations: 0.7789 MB / 0.6655 GB, free: 116 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6543, allocations: 8 kB / 0.6655 GB, free: 108 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6543, allocations: 4 kB / 0.6655 GB, free: 104 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.6543, allocations: 7.984 kB / 0.6655 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.6554, allocations: 0.794 MB / 0.6663 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6554, allocations: 4 kB / 0.6663 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009243/0.6564, allocations: 75.86 kB / 0.6664 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.6564, allocations: 3.938 kB / 0.6664 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/0.6565, allocations: 15.92 kB / 0.6664 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.6565, allocations: 7.984 kB / 0.6664 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6565, allocations: 4 kB / 0.6664 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.6585, allocations: 0.9552 MB / 0.6673 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.6586, allocations: 96.86 kB / 0.6674 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.6587, allocations: 4 kB / 0.6674 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008663/0.6595, allocations: 35.95 kB / 0.6675 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.6596, allocations: 23.91 kB / 0.6675 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-05/0.6597, allocations: 23.97 kB / 0.6675 GB, free: 13.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.487e-05/0.6598, allocations: 99.27 kB / 0.6676 GB, free: 13.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6598, allocations: 0 / 0.6676 GB, free: 13.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008271/0.6606, allocations: 179.9 kB / 0.6678 GB, free: 13.64 MB / 490.7 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.001055/0.6617, allocations: 354.9 kB / 0.6681 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.6632, allocations: 0.649 MB / 0.6687 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.6632, allocations: 0 / 0.6687 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006817/0.6639, allocations: 340.5 kB / 0.6691 GB, free: 12.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007224/0.6646, allocations: 85.17 kB / 0.6691 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.6664, allocations: 1.145 MB / 0.6703 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.6668, allocations: 0.7408 MB / 0.671 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001296/0.6681, allocations: 177.7 kB / 0.6712 GB, free: 10.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.6684, allocations: 35.41 kB / 0.6712 GB, free: 10.07 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6684, allocations: 0 / 0.6712 GB, free: 10.07 MB / 490.7 MB Notification: Performance of Templates: time 0.2559/0.9243, allocations: 10.1 MB / 0.6811 GB, free: 144.9 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches