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.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.203/2.203, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.836e-05, allocations: 8 kB / 303.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3676, allocations: 54.87 MB / 358.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.5375, allocations: 81.4 MB / 439.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5379, allocations: 71.97 kB / 439.6 MB, free: 14.05 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.02151/0.5594, allocations: 4.587 MB / 444.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5594, allocations: 0 / 444.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.5595, allocations: 3.938 kB / 444.2 MB, free: 9.465 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.0006279/0.5601, allocations: 471 kB / 444.7 MB, free: 8.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5602, allocations: 8.031 kB / 444.7 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.5602, allocations: 7.906 kB / 444.7 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.5606, allocations: 206.9 kB / 444.9 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.5606, allocations: 0 / 444.9 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.5607, allocations: 8 kB / 444.9 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.461e-05/0.5608, allocations: 19.98 kB / 444.9 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.5609, allocations: 45.69 kB / 444.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.561, allocations: 3.953 kB / 445 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.561, allocations: 4 kB / 445 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.561, allocations: 8 kB / 445 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.5615, allocations: 301.3 kB / 445.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.5616, allocations: 46.69 kB / 445.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.5617, allocations: 16.98 kB / 445.3 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.5617, allocations: 0 / 445.3 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.5619, allocations: 75.34 kB / 445.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.968e-06/0.5619, allocations: 7.922 kB / 445.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005978/0.5625, allocations: 153.2 kB / 445.6 MB, free: 7.941 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.5626, allocations: 51.41 kB / 445.6 MB, free: 7.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.5629, allocations: 174.4 kB / 445.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.5629, allocations: 25.7 kB / 445.8 MB, free: 7.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.563, allocations: 166.6 kB / 446 MB, free: 7.496 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.5631, allocations: 31.64 kB / 446 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/0.5631, allocations: 0 / 446 MB, free: 7.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5633, allocations: 315.5 kB / 446.3 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.5634, allocations: 28 kB / 446.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.5635, allocations: 53.64 kB / 446.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.5636, allocations: 43.98 kB / 446.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5636, allocations: 0 / 446.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000357/0.564, allocations: 125.6 kB / 446.5 MB, free: 6.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.946e-05/0.5641, allocations: 41.78 kB / 446.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.5641, allocations: 11.83 kB / 446.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5641, allocations: 0 / 446.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.5643, allocations: 12 kB / 446.6 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.5643, allocations: 4 kB / 446.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.5644, allocations: 7.984 kB / 446.6 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.5645, allocations: 4 kB / 446.6 MB, free: 6.805 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.000103/0.5646, allocations: 107.1 kB / 446.7 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002309/0.5648, allocations: 105.6 kB / 446.8 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.5649, allocations: 19.77 kB / 446.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.5652, allocations: 107.5 kB / 447 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.5652, allocations: 4 kB / 447 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.5653, allocations: 3.984 kB / 447 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5653, allocations: 0 / 447 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.5659, allocations: 371.9 kB / 447.3 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5659, allocations: 4 kB / 447.3 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.566, allocations: 15.97 kB / 447.3 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.566, allocations: 0 / 447.3 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.566, allocations: 3.984 kB / 447.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5661, allocations: 4 kB / 447.4 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5661, allocations: 192 / 447.4 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.5664, allocations: 217.8 kB / 447.6 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.5665, allocations: 101 kB / 447.7 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.5666, allocations: 11.94 kB / 447.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5667, allocations: 0 / 447.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.5667, allocations: 7.984 kB / 447.7 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.5668, allocations: 8 kB / 447.7 MB, free: 5.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.5669, allocations: 136 kB / 447.8 MB, free: 5.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.567, allocations: 0 / 447.8 MB, free: 5.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004602/0.5674, allocations: 43.94 kB / 447.9 MB, free: 5.449 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.001892/0.5693, allocations: 1.093 MB / 449 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.5698, allocations: 159.3 kB / 449.1 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5698, allocations: 0 / 449.1 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.5699, allocations: 31.94 kB / 449.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.5703, allocations: 20.78 kB / 449.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008149/0.5711, allocations: 253.9 kB / 449.4 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.5715, allocations: 0.7198 MB / 450.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.682e-05/0.5716, allocations: 35.42 kB / 450.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5716, allocations: 0 / 450.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.573/3.144, allocations: 2.487 MB / 452.7 MB, free: 0.5938 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat