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.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.463/2.463, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.491e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3562, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.507, allocations: 81.39 MB / 439.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.5073, allocations: 75.89 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.02039/0.5277, allocations: 4.552 MB / 444.2 MB, free: 8.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5277, allocations: 4 kB / 444.2 MB, free: 8.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.5278, allocations: 0 / 444.2 MB, free: 8.711 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.0006181/0.5284, allocations: 477.4 kB / 444.6 MB, free: 8.188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.5285, allocations: 8.031 kB / 444.6 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.076e-05/0.5285, allocations: 7.906 kB / 444.6 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.5289, allocations: 206.9 kB / 444.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.529, allocations: 0 / 444.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.529, allocations: 8 kB / 444.8 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001008/0.5291, allocations: 15.98 kB / 444.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.5292, allocations: 57.62 kB / 444.9 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5293, allocations: 7.953 kB / 444.9 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5293, allocations: 0 / 444.9 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5293, allocations: 4 kB / 444.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.5298, allocations: 293.4 kB / 445.2 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.53, allocations: 50.69 kB / 445.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.5301, allocations: 16.98 kB / 445.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.5301, allocations: 4 kB / 445.3 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.5303, allocations: 75.28 kB / 445.4 MB, free: 7.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.5303, allocations: 0 / 445.4 MB, free: 7.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006067/0.5309, allocations: 145.2 kB / 445.5 MB, free: 7.191 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.531, allocations: 59.34 kB / 445.6 MB, free: 7.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.5312, allocations: 174.5 kB / 445.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.5312, allocations: 25.7 kB / 445.8 MB, free: 6.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.5313, allocations: 166.6 kB / 445.9 MB, free: 6.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.5314, allocations: 31.58 kB / 446 MB, free: 6.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.5314, allocations: 0 / 446 MB, free: 6.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5315, allocations: 323.4 kB / 446.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-05/0.5317, allocations: 28 kB / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.5318, allocations: 56.31 kB / 446.3 MB, free: 6.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.5319, allocations: 39.98 kB / 446.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5319, allocations: 4 kB / 446.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000341/0.5323, allocations: 133.5 kB / 446.5 MB, free: 6.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.445e-05/0.5323, allocations: 37.69 kB / 446.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5324, allocations: 3.953 kB / 446.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5324, allocations: 0 / 446.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.5326, allocations: 12 kB / 446.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5326, allocations: 4 kB / 446.6 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.5327, allocations: 7.984 kB / 446.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.5327, allocations: 8 kB / 446.6 MB, free: 6.039 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 0.0001038/0.5329, allocations: 115 kB / 446.7 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002403/0.5331, allocations: 93.56 kB / 446.8 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.5332, allocations: 19.77 kB / 446.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.5335, allocations: 107.5 kB / 446.9 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.5335, allocations: 7.984 kB / 446.9 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5335, allocations: 0 / 446.9 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5335, allocations: 3.984 kB / 446.9 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006089/0.5342, allocations: 384 kB / 447.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.5342, allocations: 0 / 447.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.5343, allocations: 12 kB / 447.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.5343, allocations: 0 / 447.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.5343, allocations: 4.172 kB / 447.3 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.5343, allocations: 8 kB / 447.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5343, allocations: 0 / 447.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.5346, allocations: 225.8 kB / 447.6 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.793e-05/0.5348, allocations: 93 kB / 447.6 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.5348, allocations: 8.281 kB / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.5349, allocations: 0 / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.535, allocations: 7.984 kB / 447.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.535, allocations: 11.88 kB / 447.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.5352, allocations: 140 kB / 447.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5352, allocations: 0 / 447.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004224/0.5357, allocations: 39.94 kB / 447.8 MB, free: 4.672 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.001594/0.5373, allocations: 1.091 MB / 448.9 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003546/0.5377, allocations: 155.4 kB / 449.1 MB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.5377, allocations: 0 / 449.1 MB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.5378, allocations: 27.94 kB / 449.1 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.5382, allocations: 15.98 kB / 449.1 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008282/0.5391, allocations: 266 kB / 449.4 MB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.5394, allocations: 0.7119 MB / 450.1 MB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.5395, allocations: 35.42 kB / 450.1 MB, free: 2.324 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5396, allocations: 0 / 450.1 MB, free: 2.324 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.583/3.122, allocations: 2.496 MB / 452.6 MB, free: 15.82 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat