Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.187/2.187, allocations: 235.1 MB / 243 MB, free: 9.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.365e-05/3.364e-05, allocations: 8 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4145, allocations: 54.85 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.5583, allocations: 81.23 MB / 439.4 MB, free: 13.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.5586, allocations: 79.95 kB / 439.4 MB, free: 13.44 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01895/0.5775, allocations: 4.362 MB / 443.8 MB, free: 9.074 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5776, allocations: 4 kB / 443.8 MB, free: 9.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.5776, allocations: 4 kB / 443.8 MB, free: 9.066 MB / 378.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.0004949/0.5781, allocations: 453.5 kB / 444.3 MB, free: 8.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.5781, allocations: 8.031 kB / 444.3 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.5782, allocations: 11.89 kB / 444.3 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.5785, allocations: 211.7 kB / 444.5 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.5785, allocations: 0 / 444.5 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.5786, allocations: 4 kB / 444.5 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.661e-05/0.5786, allocations: 19.98 kB / 444.5 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.624e-05/0.5787, allocations: 41.69 kB / 444.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5788, allocations: 3.953 kB / 444.6 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.5788, allocations: 0 / 444.6 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.5788, allocations: 4 kB / 444.6 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.579, allocations: 178.2 kB / 444.7 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.5791, allocations: 46.56 kB / 444.8 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.5792, allocations: 24.86 kB / 444.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.5792, allocations: 4 kB / 444.8 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.5794, allocations: 59.48 kB / 444.9 MB, free: 7.855 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.734e-06/0.5794, allocations: 0 / 444.9 MB, free: 7.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002376/0.5796, allocations: 77.53 kB / 444.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.5797, allocations: 59.39 kB / 445 MB, free: 7.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.5799, allocations: 165.2 kB / 445.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.5799, allocations: 33.7 kB / 445.2 MB, free: 7.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.58, allocations: 162.5 kB / 445.3 MB, free: 7.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.5801, allocations: 15.81 kB / 445.4 MB, free: 7.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-06/0.5801, allocations: 0 / 445.4 MB, free: 7.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5802, allocations: 318.8 kB / 445.7 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.5803, allocations: 24 kB / 445.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.5804, allocations: 45.64 kB / 445.7 MB, free: 6.922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.5805, allocations: 35.98 kB / 445.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5805, allocations: 0 / 445.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002868/0.5808, allocations: 101.6 kB / 445.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.5809, allocations: 33.7 kB / 445.9 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5809, allocations: 0 / 445.9 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5809, allocations: 4 kB / 445.9 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.5811, allocations: 11.98 kB / 445.9 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5811, allocations: 0 / 445.9 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.5812, allocations: 11.84 kB / 445.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.5812, allocations: 11.98 kB / 445.9 MB, free: 6.703 MB / 378.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 9.087e-05/0.5813, allocations: 121.7 kB / 446.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001731/0.5815, allocations: 77.58 kB / 446.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.5816, allocations: 7.906 kB / 446.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.5818, allocations: 82.08 kB / 446.2 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5818, allocations: 0 / 446.2 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.5818, allocations: 3.953 kB / 446.2 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5819, allocations: 4.25 kB / 446.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.582, allocations: 170 kB / 446.4 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5821, allocations: 8 kB / 446.4 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.5822, allocations: 11.94 kB / 446.4 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.5822, allocations: 3.984 kB / 446.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.5822, allocations: 0 / 446.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5822, allocations: 0 / 446.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5822, allocations: 0 / 446.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.5824, allocations: 113.6 kB / 446.5 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/0.5826, allocations: 89 kB / 446.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.5826, allocations: 8 kB / 446.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.5827, allocations: 4 kB / 446.6 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.5827, allocations: 7.984 kB / 446.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.5828, allocations: 0 / 446.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.5829, allocations: 131.2 kB / 446.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5829, allocations: 0 / 446.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.5833, allocations: 31.92 kB / 446.8 MB, free: 5.754 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001331/0.5846, allocations: 0.8717 MB / 447.7 MB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.585, allocations: 143.3 kB / 447.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.585, allocations: 0 / 447.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.585, allocations: 23.98 kB / 447.8 MB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.5854, allocations: 19.84 kB / 447.9 MB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.586, allocations: 216.5 kB / 448.1 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.5863, allocations: 0.7041 MB / 448.8 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.552e-05/0.5864, allocations: 35.42 kB / 448.8 MB, free: 3.684 MB / 378.7 MB Notification: Performance of SimCode: time 2.865e-06/0.5864, allocations: 0 / 448.8 MB, free: 3.684 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.522/3.108, allocations: 2.177 MB / 451 MB, free: 1.504 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat