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.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.073/2.073, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.000464, allocations: 12 kB / 282.7 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4092, allocations: 48.71 MB / 331.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.5478, allocations: 75.87 MB / 407.2 MB, free: 2.449 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.5482, allocations: 75.95 kB / 407.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0185/0.5667, allocations: 4.105 MB / 411.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.5668, allocations: 0 / 411.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.5668, allocations: 0 / 411.4 MB, free: 14.28 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.0006933/0.5675, allocations: 436.7 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.5676, allocations: 12.03 kB / 411.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.5676, allocations: 30.56 kB / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.5677, allocations: 7.906 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.568, allocations: 211.3 kB / 412.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.568, allocations: 0 / 412.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.568, allocations: 4 kB / 412.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.5682, allocations: 45.67 kB / 412.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5682, allocations: 0 / 412.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.5682, allocations: 0 / 412.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5682, allocations: 4 kB / 412.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.92e-05/0.5683, allocations: 15.98 kB / 412.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.5688, allocations: 292.8 kB / 412.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.5691, allocations: 54.48 kB / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.5691, allocations: 3.984 kB / 412.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.5693, allocations: 55.5 kB / 412.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.5693, allocations: 0 / 412.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005379/0.5698, allocations: 125.3 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.5699, allocations: 55.41 kB / 412.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.5702, allocations: 165.6 kB / 412.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.5702, allocations: 33.69 kB / 412.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.5703, allocations: 162.5 kB / 413.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.5704, allocations: 19.75 kB / 413.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.5704, allocations: 0 / 413.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5705, allocations: 314.8 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.043e-05/0.5706, allocations: 23.98 kB / 413.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.5707, allocations: 27.92 kB / 413.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.5708, allocations: 57.73 kB / 413.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5708, allocations: 0 / 413.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003054/0.5712, allocations: 127.3 kB / 413.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.5712, allocations: 33.64 kB / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.5712, allocations: 0 / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.5713, allocations: 0 / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.5714, allocations: 15.98 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.5714, allocations: 4 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.5715, allocations: 4 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.5716, allocations: 7.953 kB / 413.7 MB, free: 11.72 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.0001551/0.5717, allocations: 125.8 kB / 413.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.5718, allocations: 7.906 kB / 413.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.5721, allocations: 89.92 kB / 413.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5721, allocations: 0 / 413.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5721, allocations: 4 kB / 413.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.5721, allocations: 0 / 413.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.5727, allocations: 362.5 kB / 414.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.5727, allocations: 0 / 414.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.5728, allocations: 8 kB / 414.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.5728, allocations: 0 / 414.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.5728, allocations: 4 kB / 414.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.5729, allocations: 0 / 414.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5729, allocations: 3.938 kB / 414.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.5731, allocations: 179.4 kB / 414.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.5732, allocations: 92.92 kB / 414.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.5733, allocations: 0 / 414.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.5734, allocations: 8.234 kB / 414.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.5735, allocations: 4 kB / 414.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.5735, allocations: 4 kB / 414.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001997/0.5737, allocations: 149.8 kB / 414.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.785e-06/0.5737, allocations: 0 / 414.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000402/0.5741, allocations: 39.88 kB / 414.8 MB, free: 10.56 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.001556/0.5757, allocations: 0.9776 MB / 415.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.576, allocations: 111.4 kB / 415.9 MB, free: 9.516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.576, allocations: 0 / 415.9 MB, free: 9.516 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.5761, allocations: 19.94 kB / 415.9 MB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.5765, allocations: 19.92 kB / 415.9 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.5775, allocations: 493.4 kB / 416.4 MB, free: 8.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.5779, allocations: 0.7082 MB / 417.1 MB, free: 8.203 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.558e-05/0.578, allocations: 27.42 kB / 417.1 MB, free: 8.176 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.578, allocations: 0 / 417.1 MB, free: 8.176 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.588/3.166, allocations: 2.206 MB / 419.3 MB, free: 5.977 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat