Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.017/2.017, allocations: 209.3 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006037/0.0006037, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3941, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.5325, allocations: 75.73 MB / 407.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.5328, allocations: 71.95 kB / 407.2 MB, free: 2.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02444/0.5573, allocations: 5.448 MB / 412.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5574, allocations: 0 / 412.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.904e-05/0.5574, allocations: 8 kB / 412.6 MB, free: 13.04 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001374/0.5588, allocations: 0.75 MB / 413.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.5589, allocations: 8.031 kB / 413.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.283e-05/0.559, allocations: 30.56 kB / 413.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.5591, allocations: 43.53 kB / 413.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.5603, allocations: 463.1 kB / 413.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.5604, allocations: 4 kB / 413.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.5604, allocations: 4 kB / 413.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.5606, allocations: 63.39 kB / 414 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.5606, allocations: 0 / 414 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.5607, allocations: 0 / 414 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.5607, allocations: 0 / 414 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.5608, allocations: 23.92 kB / 414 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.5615, allocations: 378.3 kB / 414.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.5616, allocations: 57.2 kB / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.5617, allocations: 4.062 kB / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.5619, allocations: 96.94 kB / 414.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.885e-06/0.562, allocations: 0 / 414.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006097/0.5626, allocations: 149 kB / 414.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.5627, allocations: 77.11 kB / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.5648, allocations: 0.8885 MB / 415.6 MB, free: 9.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.5649, allocations: 29.7 kB / 415.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.5651, allocations: 250.6 kB / 415.9 MB, free: 9.504 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.5652, allocations: 15.73 kB / 415.9 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.5652, allocations: 12 kB / 415.9 MB, free: 9.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5653, allocations: 314.8 kB / 416.2 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.5655, allocations: 39.97 kB / 416.3 MB, free: 9.121 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.5656, allocations: 49.7 kB / 416.3 MB, free: 9.066 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.5658, allocations: 103.3 kB / 416.4 MB, free: 8.953 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5659, allocations: 0 / 416.4 MB, free: 8.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004583/0.5663, allocations: 201 kB / 416.6 MB, free: 8.738 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.5664, allocations: 67.33 kB / 416.7 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5664, allocations: 4 kB / 416.7 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.5665, allocations: 0 / 416.7 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.5666, allocations: 15.94 kB / 416.7 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5666, allocations: 0 / 416.7 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.5669, allocations: 8.125 kB / 416.7 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.5669, allocations: 15.98 kB / 416.7 MB, free: 8.617 MB / 346.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0003796/0.5673, allocations: 221.7 kB / 417 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.5674, allocations: 43.44 kB / 417 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/0.5679, allocations: 165.4 kB / 417.2 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5679, allocations: 0 / 417.2 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5679, allocations: 0 / 417.2 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5679, allocations: 0 / 417.2 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.5684, allocations: 369.3 kB / 417.5 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5684, allocations: 0 / 417.5 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.5685, allocations: 8 kB / 417.5 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.5685, allocations: 0 / 417.5 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.5686, allocations: 7.984 kB / 417.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5686, allocations: 0 / 417.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.5686, allocations: 4 kB / 417.5 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.569, allocations: 183 kB / 417.7 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.5694, allocations: 184.5 kB / 417.9 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.5695, allocations: 4 kB / 417.9 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.5696, allocations: 4 kB / 417.9 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.5697, allocations: 11.98 kB / 417.9 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.5697, allocations: 4.094 kB / 417.9 MB, free: 7.316 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001379/0.5711, allocations: 0.7096 MB / 418.6 MB, free: 6.609 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.5711, allocations: 0 / 418.6 MB, free: 6.609 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005631/0.5717, allocations: 95.94 kB / 418.7 MB, free: 6.516 MB / 346.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002092/0.5738, allocations: 1.174 MB / 419.9 MB, free: 5.398 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.5743, allocations: 198.7 kB / 420.1 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5743, allocations: 0 / 420.1 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.716e-05/0.5744, allocations: 27.98 kB / 420.1 MB, free: 5.152 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.575, allocations: 46.28 kB / 420.2 MB, free: 5.109 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.5779, allocations: 1.583 MB / 421.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.5785, allocations: 0.8351 MB / 422.6 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.5789, allocations: 135.4 kB / 422.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of SimCode: time 1.322e-06/0.5789, allocations: 0 / 422.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.837/3.416, allocations: 7.758 MB / 430.5 MB, free: 10.69 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat