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.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.231/2.231, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.071e-05/2.067e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3598, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.5071, allocations: 81.4 MB / 439.5 MB, free: 13.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.5075, allocations: 71.95 kB / 439.6 MB, free: 13.35 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.02077/0.5283, allocations: 4.521 MB / 444.1 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5283, allocations: 4 kB / 444.1 MB, free: 8.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.5283, allocations: 0 / 444.1 MB, free: 8.824 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.0006201/0.529, allocations: 457.5 kB / 444.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.529, allocations: 12.03 kB / 444.6 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.5291, allocations: 15.89 kB / 444.6 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.5295, allocations: 203.7 kB / 444.8 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.5295, allocations: 8 kB / 444.8 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.5296, allocations: 4 kB / 444.8 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.833e-05/0.5297, allocations: 19.98 kB / 444.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.5298, allocations: 57.66 kB / 444.9 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5298, allocations: 3.953 kB / 444.9 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.5299, allocations: 0 / 444.9 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5299, allocations: 3.938 kB / 444.9 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.5304, allocations: 293.3 kB / 445.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.5305, allocations: 50.69 kB / 445.2 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.5306, allocations: 16.98 kB / 445.2 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.5306, allocations: 0 / 445.2 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.5308, allocations: 79.28 kB / 445.3 MB, free: 7.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.5308, allocations: 0 / 445.3 MB, free: 7.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005845/0.5314, allocations: 137.4 kB / 445.5 MB, free: 7.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.5315, allocations: 55.41 kB / 445.5 MB, free: 7.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.5317, allocations: 165.2 kB / 445.7 MB, free: 7.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.5318, allocations: 33.64 kB / 445.7 MB, free: 7.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.5319, allocations: 162.5 kB / 445.9 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.5319, allocations: 23.7 kB / 445.9 MB, free: 6.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.5319, allocations: 4 kB / 445.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5321, allocations: 323.5 kB / 446.2 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.135e-05/0.5322, allocations: 31.94 kB / 446.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.5323, allocations: 53.7 kB / 446.3 MB, free: 6.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.5324, allocations: 35.98 kB / 446.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5325, allocations: 0 / 446.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003423/0.5328, allocations: 125.6 kB / 446.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.5329, allocations: 33.7 kB / 446.5 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5329, allocations: 12.06 kB / 446.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5329, allocations: 3.938 kB / 446.5 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.5331, allocations: 20 kB / 446.5 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5331, allocations: 0 / 446.5 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.5332, allocations: 4 kB / 446.5 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.5332, allocations: 7.984 kB / 446.5 MB, free: 6.191 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.846e-05/0.5334, allocations: 109.3 kB / 446.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002484/0.5336, allocations: 101.4 kB / 446.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.5337, allocations: 15.84 kB / 446.8 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.534, allocations: 114.4 kB / 446.9 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.534, allocations: 4 kB / 446.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.534, allocations: 0 / 446.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.534, allocations: 3.984 kB / 446.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.5346, allocations: 379.8 kB / 447.2 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5347, allocations: 4.125 kB / 447.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.176e-05/0.5347, allocations: 12 kB / 447.3 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.5348, allocations: 0 / 447.3 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.5348, allocations: 8.031 kB / 447.3 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5348, allocations: 0 / 447.3 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5348, allocations: 0 / 447.3 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.5351, allocations: 217.9 kB / 447.5 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.531e-05/0.5352, allocations: 89 kB / 447.6 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.5353, allocations: 11.98 kB / 447.6 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.5354, allocations: 7.938 kB / 447.6 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.5355, allocations: 7.984 kB / 447.6 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.5355, allocations: 4 kB / 447.6 MB, free: 5.016 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.5357, allocations: 131.2 kB / 447.7 MB, free: 4.887 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5357, allocations: 0 / 447.7 MB, free: 4.887 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004037/0.5361, allocations: 35.98 kB / 447.8 MB, free: 4.852 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.00164/0.5377, allocations: 1.094 MB / 448.9 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.5381, allocations: 163.3 kB / 449 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5382, allocations: 0 / 449 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.5383, allocations: 31.94 kB / 449 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.5386, allocations: 19.84 kB / 449.1 MB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007458/0.5394, allocations: 233.7 kB / 449.3 MB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.5398, allocations: 0.712 MB / 450 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.5399, allocations: 35.42 kB / 450 MB, free: 2.512 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5399, allocations: 0 / 450 MB, free: 2.512 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.681/3.221, allocations: 2.421 MB / 452.5 MB, free: 88 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat