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.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 235.1 MB / 243 MB, free: 9.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.166e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3417, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.4868, allocations: 81.36 MB / 439.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4871, allocations: 71.95 kB / 439.6 MB, free: 13.4 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. Notification: Performance of FrontEnd - DAE generated: time 0.01899/0.5061, allocations: 4.427 MB / 444 MB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5061, allocations: 4 kB / 444 MB, free: 8.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.5061, allocations: 3.938 kB / 444 MB, free: 8.961 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005458/0.5067, allocations: 461.5 kB / 444.5 MB, free: 8.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5068, allocations: 8.031 kB / 444.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.733e-05/0.5068, allocations: 7.906 kB / 444.5 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.5072, allocations: 207.7 kB / 444.7 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.5072, allocations: 3.938 kB / 444.7 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.5072, allocations: 4 kB / 444.7 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.171e-05/0.5074, allocations: 23.98 kB / 444.7 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.5075, allocations: 53.67 kB / 444.8 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5075, allocations: 3.953 kB / 444.8 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.5075, allocations: 0 / 444.8 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.5075, allocations: 0 / 444.8 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.508, allocations: 293.3 kB / 445 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.5081, allocations: 54.62 kB / 445.1 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.5082, allocations: 20.98 kB / 445.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.5082, allocations: 7.984 kB / 445.1 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.5084, allocations: 67.34 kB / 445.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.5084, allocations: 0 / 445.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005656/0.509, allocations: 149.3 kB / 445.3 MB, free: 7.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.5091, allocations: 51.41 kB / 445.4 MB, free: 7.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.5093, allocations: 173.2 kB / 445.6 MB, free: 7.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.5093, allocations: 25.7 kB / 445.6 MB, free: 7.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.5094, allocations: 166.5 kB / 445.7 MB, free: 7.016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.5095, allocations: 23.7 kB / 445.8 MB, free: 6.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.5095, allocations: 3.938 kB / 445.8 MB, free: 6.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5096, allocations: 311.5 kB / 446.1 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.289e-05/0.5097, allocations: 36 kB / 446.1 MB, free: 6.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.5098, allocations: 52.38 kB / 446.2 MB, free: 6.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.51, allocations: 39.98 kB / 446.2 MB, free: 6.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.51, allocations: 0 / 446.2 MB, free: 6.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003223/0.5103, allocations: 125.6 kB / 446.3 MB, free: 6.418 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/0.5104, allocations: 37.69 kB / 446.4 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5104, allocations: 3.953 kB / 446.4 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5104, allocations: 4.094 kB / 446.4 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.5106, allocations: 15.94 kB / 446.4 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.5106, allocations: 3.938 kB / 446.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.78e-05/0.5107, allocations: 12.02 kB / 446.4 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.5107, allocations: 8 kB / 446.4 MB, free: 6.328 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 8.957e-05/0.5108, allocations: 111 kB / 446.5 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002151/0.511, allocations: 93.48 kB / 446.6 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.5111, allocations: 11.86 kB / 446.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.5114, allocations: 110.4 kB / 446.7 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5114, allocations: 0 / 446.7 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.5114, allocations: 3.984 kB / 446.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5114, allocations: 0 / 446.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.512, allocations: 391.7 kB / 447.1 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.512, allocations: 0 / 447.1 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.5121, allocations: 12 kB / 447.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5121, allocations: 0 / 447.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.5121, allocations: 0 / 447.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5122, allocations: 0 / 447.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.5122, allocations: 7.984 kB / 447.1 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.5125, allocations: 217.9 kB / 447.3 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.5126, allocations: 97.19 kB / 447.4 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.5126, allocations: 4 kB / 447.4 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.5127, allocations: 4 kB / 447.4 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.5128, allocations: 11.92 kB / 447.5 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.5128, allocations: 4 kB / 447.5 MB, free: 5.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.513, allocations: 139.1 kB / 447.6 MB, free: 5.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.513, allocations: 0 / 447.6 MB, free: 5.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003975/0.5134, allocations: 39.98 kB / 447.6 MB, free: 4.984 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001521/0.5149, allocations: 1.083 MB / 448.7 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003201/0.5153, allocations: 159.3 kB / 448.9 MB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.5153, allocations: 4 kB / 448.9 MB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.308e-05/0.5154, allocations: 31.98 kB / 448.9 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.5157, allocations: 23.97 kB / 448.9 MB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/0.5164, allocations: 241.6 kB / 449.2 MB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.5167, allocations: 0.7119 MB / 449.9 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/0.5168, allocations: 31.42 kB / 449.9 MB, free: 2.648 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5168, allocations: 0 / 449.9 MB, free: 2.648 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.607/3.124, allocations: 2.424 MB / 452.3 MB, free: 224 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat