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.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.029/2.029, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004418, allocations: 12 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.343, allocations: 48.7 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.4758, allocations: 75.83 MB / 407.2 MB, free: 2.469 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.4761, allocations: 67.97 kB / 407.3 MB, free: 2.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01676/0.4929, allocations: 3.838 MB / 411.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4929, allocations: 0 / 411.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.4929, allocations: 4 kB / 411.1 MB, free: 14.57 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.0005702/0.4935, allocations: 420.7 kB / 411.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.4936, allocations: 8.031 kB / 411.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.4936, allocations: 38.56 kB / 411.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.4937, allocations: 4 kB / 411.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.494, allocations: 194.8 kB / 411.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.494, allocations: 0 / 411.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.494, allocations: 7.984 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.4942, allocations: 45.62 kB / 411.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4942, allocations: 0 / 411.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.4942, allocations: 4 kB / 411.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4942, allocations: 0 / 411.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.942e-05/0.4943, allocations: 15.98 kB / 411.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.4948, allocations: 288.8 kB / 412.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.4951, allocations: 54.58 kB / 412.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.4951, allocations: 3.984 kB / 412.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.4953, allocations: 55.41 kB / 412.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/0.4953, allocations: 0 / 412.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005187/0.4958, allocations: 113.4 kB / 412.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.4959, allocations: 59.41 kB / 412.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.4961, allocations: 144.7 kB / 412.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.4961, allocations: 29.7 kB / 412.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.4962, allocations: 158.5 kB / 412.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.4962, allocations: 15.89 kB / 412.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.4963, allocations: 3.938 kB / 412.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4964, allocations: 314.8 kB / 413 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.511e-05/0.4965, allocations: 27.98 kB / 413.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.4966, allocations: 27.97 kB / 413.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.4967, allocations: 53.7 kB / 413.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4967, allocations: 0 / 413.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002796/0.497, allocations: 131.2 kB / 413.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.497, allocations: 29.7 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4971, allocations: 0 / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.4971, allocations: 4 kB / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.4972, allocations: 8 kB / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4972, allocations: 3.984 kB / 413.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.4973, allocations: 8 kB / 413.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4973, allocations: 7.953 kB / 413.3 MB, free: 12.09 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.0001188/0.4974, allocations: 121.8 kB / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.4975, allocations: 7.906 kB / 413.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.4977, allocations: 90.05 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.4978, allocations: 3.984 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4978, allocations: 0 / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4978, allocations: 0 / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.4983, allocations: 346.5 kB / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4983, allocations: 0 / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.4984, allocations: 11.98 kB / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4984, allocations: 0 / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4984, allocations: 4 kB / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4984, allocations: 0 / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4984, allocations: 0 / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.4987, allocations: 179.4 kB / 414.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.4987, allocations: 92.94 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.4988, allocations: 4 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.4989, allocations: 0 / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.4989, allocations: 7.984 kB / 414.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.499, allocations: 0 / 414.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.4991, allocations: 115.2 kB / 414.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4991, allocations: 0 / 414.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004117/0.4995, allocations: 47.86 kB / 414.3 MB, free: 10.97 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.001458/0.501, allocations: 0.9789 MB / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.5013, allocations: 111.4 kB / 415.4 MB, free: 9.926 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5013, allocations: 4 kB / 415.4 MB, free: 9.922 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.351e-05/0.5014, allocations: 23.98 kB / 415.5 MB, free: 9.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.5017, allocations: 11.98 kB / 415.5 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009154/0.5027, allocations: 445.2 kB / 415.9 MB, free: 9.391 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.503, allocations: 0.6965 MB / 416.6 MB, free: 8.668 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.5031, allocations: 23.42 kB / 416.6 MB, free: 8.645 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5031, allocations: 0 / 416.6 MB, free: 8.645 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.713/3.216, allocations: 2.007 MB / 418.6 MB, free: 6.645 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat