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.Test29.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.22/2.22, allocations: 234.9 MB / 250.5 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006333/0.0006336, allocations: 12 kB / 314.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3678, allocations: 54.85 MB / 369.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.5108, allocations: 82.15 MB / 451.5 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.5112, allocations: 83.84 kB / 451.6 MB, free: 10.42 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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.01996/0.5312, allocations: 4.579 MB / 456.2 MB, free: 5.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.5312, allocations: 0 / 456.2 MB, free: 5.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.5312, allocations: 8 kB / 456.2 MB, free: 5.824 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.0006261/0.5319, allocations: 478.1 kB / 456.6 MB, free: 5.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5319, allocations: 8.031 kB / 456.7 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.532, allocations: 34.56 kB / 456.7 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.532, allocations: 11.91 kB / 456.7 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.5324, allocations: 206.8 kB / 456.9 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.5324, allocations: 8 kB / 456.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.5324, allocations: 4 kB / 456.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.5326, allocations: 61.66 kB / 457 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5327, allocations: 0 / 457 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.5327, allocations: 3.953 kB / 457 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.5327, allocations: 4 kB / 457 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.5328, allocations: 15.98 kB / 457 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.5333, allocations: 304.9 kB / 457.3 MB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.5336, allocations: 74.55 kB / 457.4 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.5336, allocations: 3.984 kB / 457.4 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.5338, allocations: 68.19 kB / 457.4 MB, free: 4.379 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.5338, allocations: 0 / 457.4 MB, free: 4.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007751/0.5346, allocations: 189.1 kB / 457.6 MB, free: 4.188 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.5347, allocations: 51.41 kB / 457.7 MB, free: 4.125 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.5349, allocations: 169.3 kB / 457.8 MB, free: 3.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.535, allocations: 33.64 kB / 457.9 MB, free: 3.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.5351, allocations: 170.5 kB / 458 MB, free: 3.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.5351, allocations: 27.64 kB / 458.1 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.5352, allocations: 3.938 kB / 458.1 MB, free: 3.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5353, allocations: 314.8 kB / 458.4 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.5354, allocations: 39.97 kB / 458.4 MB, free: 3.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.5356, allocations: 60.38 kB / 458.5 MB, free: 3.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.5358, allocations: 73.69 kB / 458.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5358, allocations: 0 / 458.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004386/0.5363, allocations: 179.6 kB / 458.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.5363, allocations: 37.7 kB / 458.8 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5364, allocations: 0 / 458.8 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5364, allocations: 0 / 458.8 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.5365, allocations: 19.98 kB / 458.8 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5366, allocations: 4 kB / 458.8 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.31e-05/0.5367, allocations: 8.031 kB / 458.8 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.5367, allocations: 4 kB / 458.8 MB, free: 2.953 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 () * Number of clocked 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 0.0001411/0.5368, allocations: 135.5 kB / 458.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.5369, allocations: 15.77 kB / 458.9 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.5373, allocations: 118.3 kB / 459.1 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5373, allocations: 4 kB / 459.1 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.5373, allocations: 0 / 459.1 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5373, allocations: 4 kB / 459.1 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/0.538, allocations: 411.3 kB / 459.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.538, allocations: 0 / 459.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.921e-05/0.5381, allocations: 8 kB / 459.5 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.5381, allocations: 7.938 kB / 459.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.5381, allocations: 3.984 kB / 459.5 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5381, allocations: 160 / 459.5 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.5382, allocations: 4 kB / 459.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.5385, allocations: 230.1 kB / 459.7 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.5386, allocations: 101 kB / 459.8 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.5387, allocations: 3.938 kB / 459.8 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.5388, allocations: 7.984 kB / 459.8 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.5389, allocations: 8 kB / 459.8 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.5389, allocations: 8 kB / 459.8 MB, free: 1.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.5391, allocations: 135.2 kB / 460 MB, free: 1.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5391, allocations: 0 / 460 MB, free: 1.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.5395, allocations: 43.92 kB / 460 MB, free: 1.602 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) * Number of clocked states: 0 () * 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.001845/0.5413, allocations: 1.171 MB / 461.2 MB, free: 496 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004147/0.5418, allocations: 167.4 kB / 461.3 MB, free: 316 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5418, allocations: 0 / 461.3 MB, free: 316 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.5419, allocations: 35.92 kB / 461.4 MB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.5423, allocations: 27.47 kB / 461.4 MB, free: 256 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.5434, allocations: 0.6653 MB / 462.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.5437, allocations: 0.7082 MB / 462.8 MB, free: 14.78 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.5438, allocations: 31.42 kB / 462.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.5438, allocations: 0 / 462.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.575/3.119, allocations: 2.414 MB / 465.2 MB, free: 12.34 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat