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.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004351, allocations: 20 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4089, allocations: 48.69 MB / 331.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.545, allocations: 75.87 MB / 407.2 MB, free: 2.453 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.5453, allocations: 71.95 kB / 407.3 MB, free: 2.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0189/0.5642, allocations: 4.38 MB / 411.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5643, allocations: 0 / 411.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.5643, allocations: 0 / 411.7 MB, free: 14.01 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.0006546/0.565, allocations: 467.4 kB / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.565, allocations: 12.03 kB / 412.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.046e-05/0.5651, allocations: 34.56 kB / 412.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.5651, allocations: 7.906 kB / 412.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.5655, allocations: 219.5 kB / 412.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.5655, allocations: 0 / 412.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.5656, allocations: 11.98 kB / 412.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.5657, allocations: 45.69 kB / 412.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.5657, allocations: 3.984 kB / 412.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.5657, allocations: 0 / 412.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5658, allocations: 0 / 412.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.1e-05/0.5658, allocations: 15.98 kB / 412.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.5663, allocations: 308.8 kB / 412.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.5666, allocations: 50.55 kB / 412.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.5666, allocations: 0 / 412.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.5668, allocations: 55.5 kB / 412.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.5668, allocations: 0 / 412.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005303/0.5674, allocations: 133.1 kB / 413 MB, free: 12.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.5674, allocations: 55.41 kB / 413.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.5679, allocations: 237.4 kB / 413.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.5679, allocations: 37.64 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.568, allocations: 174.5 kB / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.5681, allocations: 15.75 kB / 413.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/0.5681, allocations: 0 / 413.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.5682, allocations: 318.8 kB / 413.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.5683, allocations: 23.94 kB / 413.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.5684, allocations: 27.92 kB / 413.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.5685, allocations: 53.69 kB / 413.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5685, allocations: 0 / 413.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002901/0.5688, allocations: 127.3 kB / 414.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.5689, allocations: 37.69 kB / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5689, allocations: 0 / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5689, allocations: 0 / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.569, allocations: 8 kB / 414.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.5691, allocations: 0 / 414.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.5691, allocations: 7.906 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.5692, allocations: 7.953 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001522/0.5693, allocations: 133.8 kB / 414.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.5694, allocations: 19.89 kB / 414.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.5697, allocations: 90.61 kB / 414.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5697, allocations: 4 kB / 414.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5697, allocations: 0 / 414.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5697, allocations: 0 / 414.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.5703, allocations: 382.4 kB / 414.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5703, allocations: 0 / 414.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.5704, allocations: 8 kB / 414.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.5704, allocations: 7.984 kB / 414.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.5704, allocations: 7.938 kB / 414.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5704, allocations: 0 / 414.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5705, allocations: 0 / 414.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.5707, allocations: 175.4 kB / 414.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/0.5708, allocations: 100.9 kB / 415 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.5709, allocations: 4 kB / 415 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.571, allocations: 4.344 kB / 415 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.5711, allocations: 11.92 kB / 415.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.5711, allocations: 8 kB / 415.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003009/0.5714, allocations: 196.2 kB / 415.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5714, allocations: 0 / 415.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.5719, allocations: 43.92 kB / 415.3 MB, free: 10.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001648/0.5735, allocations: 0.9846 MB / 416.3 MB, free: 9.109 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.5739, allocations: 107.4 kB / 416.4 MB, free: 8.992 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5739, allocations: 0 / 416.4 MB, free: 8.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.574, allocations: 27.92 kB / 416.4 MB, free: 8.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.5743, allocations: 16.17 kB / 416.4 MB, free: 8.945 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.5756, allocations: 0.5699 MB / 417 MB, free: 8.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.576, allocations: 0.7199 MB / 417.7 MB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.5761, allocations: 31.42 kB / 417.8 MB, free: 7.543 MB / 346.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5761, allocations: 0 / 417.8 MB, free: 7.543 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.706/3.282, allocations: 2.608 MB / 420.4 MB, free: 4.941 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat