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.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.037/2.037, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.0004549, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3711, allocations: 48.71 MB / 331.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.5071, allocations: 75.87 MB / 407.2 MB, free: 2.418 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.5074, allocations: 71.95 kB / 407.3 MB, free: 2.348 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01772/0.5251, allocations: 4.027 MB / 411.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5252, allocations: 0 / 411.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.5252, allocations: 4 kB / 411.3 MB, free: 14.32 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.0006322/0.5259, allocations: 432.6 kB / 411.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.5259, allocations: 8.031 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.526, allocations: 34.56 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.526, allocations: 11.89 kB / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.5263, allocations: 194.8 kB / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.5264, allocations: 8 kB / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.5264, allocations: 0 / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.5265, allocations: 45.69 kB / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5266, allocations: 4 kB / 412.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.5266, allocations: 0 / 412.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.5266, allocations: 0 / 412.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.849e-05/0.5267, allocations: 15.98 kB / 412.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.5272, allocations: 296.8 kB / 412.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.5274, allocations: 42.56 kB / 412.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.5275, allocations: 8 kB / 412.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.5276, allocations: 59.39 kB / 412.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.754e-06/0.5276, allocations: 0 / 412.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005069/0.5281, allocations: 121.5 kB / 412.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.5282, allocations: 59.39 kB / 412.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.5284, allocations: 160.8 kB / 412.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.5285, allocations: 29.69 kB / 412.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.5286, allocations: 170.5 kB / 413 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.5286, allocations: 7.812 kB / 413 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.5286, allocations: 4 kB / 413 MB, free: 12.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5288, allocations: 314.8 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.5289, allocations: 27.92 kB / 413.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.529, allocations: 23.98 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.5291, allocations: 49.7 kB / 413.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5291, allocations: 0 / 413.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003005/0.5294, allocations: 127.3 kB / 413.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.5295, allocations: 37.7 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5295, allocations: 0 / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5295, allocations: 0 / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.775e-05/0.5296, allocations: 11.98 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.5296, allocations: 3.953 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.271e-05/0.5297, allocations: 7.984 kB / 413.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.5298, allocations: 8.156 kB / 413.6 MB, free: 11.8 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.0001596/0.5299, allocations: 125.8 kB / 413.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.53, allocations: 7.906 kB / 413.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.5303, allocations: 97.98 kB / 413.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5303, allocations: 0 / 413.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5303, allocations: 0 / 413.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.5303, allocations: 3.953 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.5308, allocations: 358.4 kB / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.5308, allocations: 96 / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.5309, allocations: 11.92 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.5309, allocations: 4 kB / 414.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.5309, allocations: 4 kB / 414.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.5309, allocations: 7.891 kB / 414.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.531, allocations: 0 / 414.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.5312, allocations: 171.5 kB / 414.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.5313, allocations: 89 kB / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.5313, allocations: 4 kB / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.5314, allocations: 4 kB / 414.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.5315, allocations: 15.94 kB / 414.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.5315, allocations: 0 / 414.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.5317, allocations: 127.8 kB / 414.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5317, allocations: 3.938 kB / 414.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004107/0.5321, allocations: 35.98 kB / 414.7 MB, free: 10.64 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.001493/0.5336, allocations: 0.9693 MB / 415.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.534, allocations: 119.4 kB / 415.8 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.534, allocations: 0 / 415.8 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.807e-05/0.5341, allocations: 27.91 kB / 415.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.5344, allocations: 19.94 kB / 415.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009604/0.5354, allocations: 465.4 kB / 416.3 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.5357, allocations: 0.7113 MB / 417 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.162e-05/0.5359, allocations: 27.42 kB / 417 MB, free: 8.281 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5359, allocations: 0 / 417 MB, free: 8.281 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.68/3.216, allocations: 2.129 MB / 419.1 MB, free: 6.156 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat