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.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.017e-05, allocations: 8 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3596, allocations: 54.86 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.5039, allocations: 81.38 MB / 439.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5042, allocations: 75.91 kB / 439.6 MB, free: 13.27 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/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.02181/0.5261, allocations: 4.866 MB / 444.5 MB, free: 8.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5261, allocations: 0 / 444.5 MB, free: 8.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.5261, allocations: 4 kB / 444.5 MB, free: 8.387 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006749/0.5268, allocations: 481.3 kB / 444.9 MB, free: 7.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.5269, allocations: 12.03 kB / 445 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.527, allocations: 15.81 kB / 445 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.5274, allocations: 222.8 kB / 445.2 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.5274, allocations: 0 / 445.2 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.5275, allocations: 4 kB / 445.2 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000118/0.5276, allocations: 19.94 kB / 445.2 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.5278, allocations: 53.67 kB / 445.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.5278, allocations: 3.953 kB / 445.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.5278, allocations: 0 / 445.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5278, allocations: 4 kB / 445.3 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.5284, allocations: 301.4 kB / 445.6 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.5286, allocations: 54.69 kB / 445.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.5287, allocations: 20.92 kB / 445.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.5287, allocations: 0 / 445.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.5289, allocations: 75.34 kB / 445.7 MB, free: 6.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.5289, allocations: 0 / 445.7 MB, free: 6.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006518/0.5296, allocations: 169 kB / 445.9 MB, free: 6.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.5296, allocations: 55.41 kB / 445.9 MB, free: 6.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.53, allocations: 227.1 kB / 446.2 MB, free: 6.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.53, allocations: 25.7 kB / 446.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5302, allocations: 178.5 kB / 446.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.5302, allocations: 23.64 kB / 446.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.5302, allocations: 8 kB / 446.4 MB, free: 6.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5304, allocations: 319.5 kB / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.5305, allocations: 28 kB / 446.7 MB, free: 5.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.5306, allocations: 45.72 kB / 446.8 MB, free: 5.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.5307, allocations: 43.98 kB / 446.8 MB, free: 5.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5307, allocations: 0 / 446.8 MB, free: 5.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003461/0.5311, allocations: 133.5 kB / 446.9 MB, free: 5.691 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.5312, allocations: 41.73 kB / 447 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5312, allocations: 3.953 kB / 447 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5312, allocations: 0 / 447 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.5314, allocations: 15.98 kB / 447 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.5314, allocations: 4 kB / 447 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.5315, allocations: 4 kB / 447 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.5316, allocations: 4.094 kB / 447 MB, free: 5.613 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 (11): * Single equations (assignments): 10 * 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.885e-05/0.5317, allocations: 112.9 kB / 447.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002375/0.5319, allocations: 109.5 kB / 447.2 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.532, allocations: 19.77 kB / 447.2 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.5323, allocations: 115.4 kB / 447.4 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5324, allocations: 3.984 kB / 447.4 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5324, allocations: 0 / 447.4 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5324, allocations: 4 kB / 447.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.533, allocations: 411.8 kB / 447.8 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5331, allocations: 0 / 447.8 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.111e-05/0.5332, allocations: 16.02 kB / 447.8 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.5332, allocations: 0 / 447.8 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.5332, allocations: 4 kB / 447.8 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.5332, allocations: 0 / 447.8 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5332, allocations: 0 / 447.8 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.5335, allocations: 217.8 kB / 448 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.5337, allocations: 112.9 kB / 448.1 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.5337, allocations: 0 / 448.1 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.5338, allocations: 7.984 kB / 448.1 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.5339, allocations: 4 kB / 448.1 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.5339, allocations: 8.125 kB / 448.1 MB, free: 4.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002622/0.5342, allocations: 197.5 kB / 448.3 MB, free: 4.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5342, allocations: 0 / 448.3 MB, free: 4.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.5346, allocations: 32 kB / 448.4 MB, free: 4.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001578/0.5362, allocations: 1.108 MB / 449.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.5366, allocations: 159.3 kB / 449.6 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5366, allocations: 0 / 449.6 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.5367, allocations: 27.97 kB / 449.6 MB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.5371, allocations: 28.92 kB / 449.7 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009272/0.5381, allocations: 322 kB / 450 MB, free: 2.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.5384, allocations: 0.7275 MB / 450.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5386, allocations: 43.41 kB / 450.8 MB, free: 1.695 MB / 378.7 MB Notification: Performance of SimCode: time 9.31e-07/0.5386, allocations: 0 / 450.8 MB, free: 1.695 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.543/3.082, allocations: 2.898 MB / 453.7 MB, free: 14.79 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat