Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 201.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000786/0.0007863, allocations: 97.44 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3328/0.3328, allocations: 45 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002494/0.0002493, allocations: 8 kB / 470.8 MB, free: 7.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2775, allocations: 63.1 MB / 0.5214 GB, free: 38.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1427/0.4203, allocations: 138.4 MB / 0.6565 GB, free: 12.12 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.4236, allocations: 3.511 MB / 0.6599 GB, free: 8.27 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.4237, allocations: 0 / 0.6599 GB, free: 8.27 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.4241, allocations: 47.78 kB / 0.6599 GB, free: 8.223 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.4257, allocations: 0.5758 MB / 0.6605 GB, free: 7.645 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.4261, allocations: 95.81 kB / 0.6606 GB, free: 7.551 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.4265, allocations: 370.9 kB / 0.661 GB, free: 7.188 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.4266, allocations: 7.984 kB / 0.661 GB, free: 7.18 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.4269, allocations: 129.6 kB / 0.6611 GB, free: 7.055 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.4272, allocations: 111.6 kB / 0.6612 GB, free: 6.945 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.4272, allocations: 8 kB / 0.6612 GB, free: 6.938 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.4295, allocations: 1.243 MB / 0.6624 GB, free: 5.691 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.4296, allocations: 79.75 kB / 0.6625 GB, free: 5.613 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.4297, allocations: 125.3 kB / 0.6626 GB, free: 5.484 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.4313, allocations: 0.7714 MB / 0.6634 GB, free: 4.711 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4313, allocations: 4 kB / 0.6634 GB, free: 4.707 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4313, allocations: 0 / 0.6634 GB, free: 4.707 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.4313, allocations: 0 / 0.6634 GB, free: 4.707 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.0009117/0.4322, allocations: 467.4 kB / 0.6638 GB, free: 4.203 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4323, allocations: 8.031 kB / 0.6638 GB, free: 4.195 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00627/0.4386, allocations: 0.734 MB / 0.6645 GB, free: 3.461 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.4391, allocations: 283.7 kB / 0.6648 GB, free: 3.145 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.4392, allocations: 12.33 kB / 0.6648 GB, free: 3.133 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.4393, allocations: 16 kB / 0.6648 GB, free: 3.117 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.4407, allocations: 0.6991 MB / 0.6655 GB, free: 2.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4408, allocations: 4 kB / 0.6655 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.4408, allocations: 8 kB / 0.6655 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.4409, allocations: 11.98 kB / 0.6655 GB, free: 2.387 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.443, allocations: 0.9173 MB / 0.6664 GB, free: 1.469 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.004628/0.4476, allocations: 1.993 MB / 0.6684 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.4488, allocations: 0.5086 MB / 0.6689 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006489/0.4494, allocations: 323.3 kB / 0.6692 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009023/0.4504, allocations: 371.2 kB / 0.6695 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.4504, allocations: 42.56 kB / 0.6696 GB, free: 13.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 2.405e-06/0.4504, allocations: 0 / 0.6696 GB, free: 13.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.002169/0.4526, allocations: 0.896 MB / 0.6705 GB, free: 13.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.4527, allocations: 81.11 kB / 0.6705 GB, free: 12.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4528, allocations: 126.2 kB / 0.6707 GB, free: 12.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.081e-05/0.4529, allocations: 29.7 kB / 0.6707 GB, free: 12.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.453, allocations: 124.3 kB / 0.6708 GB, free: 12.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.4531, allocations: 94.56 kB / 0.6709 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/0.4532, allocations: 8 kB / 0.6709 GB, free: 12.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4533, allocations: 326.8 kB / 0.6712 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006212/0.4539, allocations: 307.5 kB / 0.6715 GB, free: 11.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006875/0.4546, allocations: 397.5 kB / 0.6719 GB, free: 11.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.456, allocations: 0.6981 MB / 0.6726 GB, free: 10.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.456, allocations: 0 / 0.6726 GB, free: 10.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001537/0.4575, allocations: 0.7384 MB / 0.6733 GB, free: 10.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4575, allocations: 8.406 kB / 0.6733 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.4576, allocations: 8 kB / 0.6733 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.4576, allocations: 7.938 kB / 0.6733 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009419/0.4585, allocations: 103.8 kB / 0.6734 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.4586, allocations: 4 kB / 0.6734 GB, free: 9.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/0.4593, allocations: 55.64 kB / 0.6735 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/0.4594, allocations: 27.98 kB / 0.6735 GB, free: 9.824 MB / 490.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.0001915/0.4596, allocations: 149.6 kB / 0.6736 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.4597, allocations: 15.91 kB / 0.6736 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.4616, allocations: 0.7793 MB / 0.6744 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4617, allocations: 4 kB / 0.6744 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4617, allocations: 0 / 0.6744 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4617, allocations: 0 / 0.6744 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.4627, allocations: 0.8097 MB / 0.6752 GB, free: 7.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4627, allocations: 0 / 0.6752 GB, free: 7.949 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009751/0.4637, allocations: 75.92 kB / 0.6753 GB, free: 7.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.4637, allocations: 4 kB / 0.6753 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.404e-05/0.4638, allocations: 11.98 kB / 0.6753 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4638, allocations: 7.938 kB / 0.6753 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4638, allocations: 4 kB / 0.6753 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.4657, allocations: 0.9578 MB / 0.6762 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.4658, allocations: 92.86 kB / 0.6763 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.4659, allocations: 8 kB / 0.6763 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008455/0.4667, allocations: 31.95 kB / 0.6764 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.4668, allocations: 31.95 kB / 0.6764 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.4669, allocations: 15.98 kB / 0.6764 GB, free: 6.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.599e-05/0.467, allocations: 107.3 kB / 0.6765 GB, free: 6.574 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.467, allocations: 0 / 0.6765 GB, free: 6.574 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007638/0.4677, allocations: 179.9 kB / 0.6767 GB, free: 6.398 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.001195/0.4689, allocations: 362.8 kB / 0.677 GB, free: 6.035 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.4704, allocations: 0.6521 MB / 0.6777 GB, free: 5.383 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.4705, allocations: 0 / 0.6777 GB, free: 5.383 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007116/0.4712, allocations: 327.7 kB / 0.678 GB, free: 5.062 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.4719, allocations: 92.34 kB / 0.6781 GB, free: 4.973 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.4738, allocations: 1.153 MB / 0.6792 GB, free: 3.785 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4742, allocations: 0.7367 MB / 0.6799 GB, free: 3.023 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001341/0.4755, allocations: 174.3 kB / 0.6801 GB, free: 2.852 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.4758, allocations: 39.41 kB / 0.6801 GB, free: 2.812 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4758, allocations: 0 / 0.6801 GB, free: 2.812 MB / 490.7 MB Notification: Performance of Templates: time 0.205/0.6809, allocations: 10.1 MB / 0.69 GB, free: 145.2 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches