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.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.959/1.959, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.0004229, allocations: 12 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4023, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.5382, allocations: 75.87 MB / 407.2 MB, free: 2.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.5386, allocations: 71.95 kB / 407.3 MB, free: 2.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01762/0.5562, allocations: 3.987 MB / 411.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5562, allocations: 0 / 411.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.5563, allocations: 4 kB / 411.3 MB, free: 14.38 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.0006436/0.5569, allocations: 431.7 kB / 411.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.557, allocations: 8.031 kB / 411.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.173e-05/0.557, allocations: 34.56 kB / 411.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.5571, allocations: 7.906 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.5574, allocations: 190.9 kB / 412 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5574, allocations: 8 kB / 412 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.5575, allocations: 7.938 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.5576, allocations: 49.66 kB / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5576, allocations: 4 kB / 412 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.5577, allocations: 0 / 412 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5577, allocations: 0 / 412 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.5577, allocations: 15.98 kB / 412 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.5582, allocations: 288.8 kB / 412.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.5585, allocations: 50.5 kB / 412.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.5586, allocations: 0 / 412.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.5587, allocations: 63.47 kB / 412.4 MB, free: 13.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 5.811e-06/0.5587, allocations: 7.938 kB / 412.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005113/0.5593, allocations: 121.2 kB / 412.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.5593, allocations: 51.41 kB / 412.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.5595, allocations: 149.2 kB / 412.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.5596, allocations: 29.69 kB / 412.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.5597, allocations: 162.6 kB / 412.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.5597, allocations: 15.75 kB / 413 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.5597, allocations: 0 / 413 MB, free: 12.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5599, allocations: 314.8 kB / 413.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.56, allocations: 23.98 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.5601, allocations: 23.98 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.5602, allocations: 53.64 kB / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5602, allocations: 4 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002872/0.5605, allocations: 123.4 kB / 413.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.5606, allocations: 33.7 kB / 413.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5606, allocations: 0 / 413.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.5606, allocations: 0 / 413.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.5607, allocations: 15.92 kB / 413.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.5607, allocations: 3.953 kB / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.5608, allocations: 7.906 kB / 413.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.5609, allocations: 4 kB / 413.6 MB, free: 11.87 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.0001317/0.561, allocations: 125.8 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.561, allocations: 7.906 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.5613, allocations: 85.98 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5613, allocations: 0 / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5613, allocations: 0 / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5614, allocations: 3.953 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.5618, allocations: 346.6 kB / 414.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5619, allocations: 3.938 kB / 414.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.5619, allocations: 16 kB / 414.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.562, allocations: 0 / 414.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.562, allocations: 3.984 kB / 414.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.562, allocations: 3.953 kB / 414.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.562, allocations: 352 / 414.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.5623, allocations: 175.4 kB / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.5623, allocations: 85.02 kB / 414.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.5624, allocations: 12.27 kB / 414.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.5625, allocations: 7.938 kB / 414.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.5625, allocations: 7.953 kB / 414.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.5626, allocations: 0 / 414.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.5627, allocations: 122 kB / 414.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5627, allocations: 0 / 414.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.5631, allocations: 39.92 kB / 414.6 MB, free: 10.74 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.001502/0.5646, allocations: 0.9715 MB / 415.6 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.565, allocations: 115.4 kB / 415.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.565, allocations: 0 / 415.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.5651, allocations: 19.94 kB / 415.7 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.5654, allocations: 23.94 kB / 415.7 MB, free: 9.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008738/0.5663, allocations: 449.1 kB / 416.1 MB, free: 9.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.5666, allocations: 0.7043 MB / 416.8 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.177e-05/0.5667, allocations: 23.42 kB / 416.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5668, allocations: 0 / 416.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.679/3.246, allocations: 2.078 MB / 419 MB, free: 6.332 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat