Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.825e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3337, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.4779, allocations: 81.5 MB / 439.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.4782, allocations: 71.97 kB / 439.7 MB, free: 13.17 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03034/0.5085, allocations: 6.878 MB / 446.6 MB, free: 6.273 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5086, allocations: 0 / 446.6 MB, free: 6.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.5086, allocations: 4 kB / 446.6 MB, free: 6.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009493/0.5096, allocations: 0.6098 MB / 447.2 MB, free: 5.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.5096, allocations: 8.031 kB / 447.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.5098, allocations: 31.62 kB / 447.2 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.5104, allocations: 280 kB / 447.5 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.5105, allocations: 8 kB / 447.5 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.5105, allocations: 19.84 kB / 447.5 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001594/0.5107, allocations: 31.98 kB / 447.6 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.5109, allocations: 91.38 kB / 447.7 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.511, allocations: 3.938 kB / 447.7 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.511, allocations: 0 / 447.7 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.511, allocations: 3.938 kB / 447.7 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.5119, allocations: 489.4 kB / 448.1 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.5121, allocations: 101.4 kB / 448.2 MB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.5123, allocations: 37.84 kB / 448.3 MB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.5123, allocations: 8 kB / 448.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.5126, allocations: 113 kB / 448.4 MB, free: 4.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.665e-06/0.5126, allocations: 0 / 448.4 MB, free: 4.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001168/0.5138, allocations: 320 kB / 448.7 MB, free: 3.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.5139, allocations: 81.09 kB / 448.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007151/0.5146, allocations: 373.1 kB / 449.1 MB, free: 3.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.5146, allocations: 29.7 kB / 449.2 MB, free: 3.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.5148, allocations: 194.9 kB / 449.4 MB, free: 3.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/0.5149, allocations: 51.34 kB / 449.4 MB, free: 3.191 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.5149, allocations: 4 kB / 449.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5151, allocations: 318.8 kB / 449.7 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.5153, allocations: 68.17 kB / 449.8 MB, free: 2.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.5155, allocations: 99.61 kB / 449.9 MB, free: 2.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.5158, allocations: 79.91 kB / 450 MB, free: 2.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5158, allocations: 0 / 450 MB, free: 2.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006591/0.5165, allocations: 229.4 kB / 450.2 MB, free: 2.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.728e-05/0.5166, allocations: 67.39 kB / 450.3 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.5166, allocations: 0 / 450.3 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.5166, allocations: 0 / 450.3 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.5169, allocations: 40.3 kB / 450.3 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.5169, allocations: 12.05 kB / 450.3 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.5172, allocations: 11.94 kB / 450.3 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.5172, allocations: 12 kB / 450.3 MB, free: 2.227 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.5174, allocations: 119 kB / 450.5 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004613/0.5179, allocations: 177.2 kB / 450.6 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.5179, allocations: 31.72 kB / 450.7 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005897/0.5185, allocations: 208.4 kB / 450.9 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.5186, allocations: 8 kB / 450.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5186, allocations: 0 / 450.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.5186, allocations: 3.984 kB / 450.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.5198, allocations: 0.6287 MB / 451.5 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.5198, allocations: 3.984 kB / 451.5 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.52, allocations: 20 kB / 451.5 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.52, allocations: 8.062 kB / 451.5 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.5201, allocations: 7.984 kB / 451.5 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5201, allocations: 0 / 451.5 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5201, allocations: 0 / 451.5 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.5207, allocations: 406.5 kB / 451.9 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.5209, allocations: 136.7 kB / 452.1 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.521, allocations: 4.375 kB / 452.1 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.5213, allocations: 4 kB / 452.1 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.5213, allocations: 19.97 kB / 452.1 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.5214, allocations: 8 kB / 452.1 MB, free: 336 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004937/0.5219, allocations: 296.5 kB / 452.4 MB, free: 40 kB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5219, allocations: 0 / 452.4 MB, free: 40 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006574/0.5226, allocations: 87.92 kB / 452.5 MB, free: 15.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002709/0.5253, allocations: 1.592 MB / 454.1 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006802/0.526, allocations: 306.7 kB / 454.4 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.526, allocations: 0 / 454.4 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.5262, allocations: 59.92 kB / 454.4 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.5268, allocations: 46.2 kB / 454.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.5284, allocations: 0.5357 MB / 455 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.5289, allocations: 0.7635 MB / 455.8 MB, free: 12.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.5291, allocations: 87.41 kB / 455.9 MB, free: 12.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5292, allocations: 0 / 455.9 MB, free: 12.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.795/3.324, allocations: 5.036 MB / 460.9 MB, free: 7.457 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat