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.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.139e-05, allocations: 8 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3653, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.5103, allocations: 81.36 MB / 439.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.5106, allocations: 79.89 kB / 439.6 MB, free: 13.3 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.01918/0.5298, allocations: 4.36 MB / 443.9 MB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5299, allocations: 8 kB / 443.9 MB, free: 8.922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.5299, allocations: 0 / 443.9 MB, free: 8.922 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.0006005/0.5305, allocations: 461.4 kB / 444.4 MB, free: 8.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.5306, allocations: 8.031 kB / 444.4 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.5306, allocations: 11.91 kB / 444.4 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.531, allocations: 204.9 kB / 444.6 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.531, allocations: 0 / 444.6 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.5311, allocations: 7.938 kB / 444.6 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001012/0.5312, allocations: 27.98 kB / 444.6 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.5313, allocations: 45.69 kB / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5313, allocations: 3.953 kB / 444.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.5314, allocations: 0 / 444.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5314, allocations: 0 / 444.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.5318, allocations: 285.5 kB / 445 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.532, allocations: 54.64 kB / 445 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.5321, allocations: 20.97 kB / 445 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.5321, allocations: 0 / 445 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.5323, allocations: 67.36 kB / 445.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.5323, allocations: 0 / 445.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005993/0.5329, allocations: 157.1 kB / 445.3 MB, free: 7.422 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.5329, allocations: 55.41 kB / 445.3 MB, free: 7.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.5332, allocations: 154.3 kB / 445.5 MB, free: 7.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.5332, allocations: 37.58 kB / 445.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.5333, allocations: 162.6 kB / 445.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.5333, allocations: 23.64 kB / 445.7 MB, free: 6.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-06/0.5334, allocations: 0 / 445.7 MB, free: 6.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5335, allocations: 315.5 kB / 446 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.696e-05/0.5336, allocations: 32 kB / 446 MB, free: 6.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.5337, allocations: 53.7 kB / 446.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.5338, allocations: 39.98 kB / 446.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5339, allocations: 0 / 446.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00035/0.5342, allocations: 129.5 kB / 446.2 MB, free: 6.387 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.5343, allocations: 41.69 kB / 446.3 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.5343, allocations: 3.953 kB / 446.3 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5343, allocations: 4 kB / 446.3 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.5345, allocations: 15.98 kB / 446.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5345, allocations: 0 / 446.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.346e-05/0.5346, allocations: 11.97 kB / 446.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.5346, allocations: 4 kB / 446.3 MB, free: 6.301 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.115e-05/0.5347, allocations: 107 kB / 446.4 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002238/0.535, allocations: 97.58 kB / 446.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.535, allocations: 11.86 kB / 446.5 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.5353, allocations: 118.5 kB / 446.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.5354, allocations: 4 kB / 446.7 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5354, allocations: 4 kB / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5354, allocations: 0 / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.5359, allocations: 375.8 kB / 447 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.536, allocations: 0 / 447 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.296e-05/0.536, allocations: 12 kB / 447 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5361, allocations: 0 / 447 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.5361, allocations: 0 / 447 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5361, allocations: 0 / 447 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5361, allocations: 4 kB / 447 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.5364, allocations: 218.1 kB / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.151e-05/0.5365, allocations: 104.9 kB / 447.4 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.5366, allocations: 0 / 447.4 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.5367, allocations: 7.938 kB / 447.4 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.5367, allocations: 15.97 kB / 447.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.5368, allocations: 3.938 kB / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.5369, allocations: 123.3 kB / 447.5 MB, free: 5.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5369, allocations: 0 / 447.5 MB, free: 5.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003873/0.5373, allocations: 39.92 kB / 447.5 MB, free: 4.973 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.001518/0.5388, allocations: 1.085 MB / 448.6 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.5392, allocations: 159.3 kB / 448.8 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5392, allocations: 4 kB / 448.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.5393, allocations: 27.98 kB / 448.8 MB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.5396, allocations: 24.11 kB / 448.8 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006828/0.5403, allocations: 229.6 kB / 449.1 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.5406, allocations: 0.7079 MB / 449.8 MB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/0.5407, allocations: 27.44 kB / 449.8 MB, free: 2.664 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5408, allocations: 0 / 449.8 MB, free: 2.664 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.497/3.037, allocations: 2.369 MB / 452.2 MB, free: 296 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat