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.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.502e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.358, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.5096, allocations: 81.35 MB / 439.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.51, allocations: 71.97 kB / 439.6 MB, free: 13.33 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.02014/0.5301, allocations: 4.435 MB / 444 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5302, allocations: 8 kB / 444 MB, free: 8.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.5302, allocations: 0 / 444 MB, free: 8.883 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.0006082/0.5308, allocations: 459.5 kB / 444.4 MB, free: 8.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5309, allocations: 12.03 kB / 444.5 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.5309, allocations: 11.89 kB / 444.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.5313, allocations: 203.7 kB / 444.7 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.5313, allocations: 4 kB / 444.7 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.5314, allocations: 4 kB / 444.7 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/0.5315, allocations: 27.92 kB / 444.7 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.5317, allocations: 53.67 kB / 444.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.5317, allocations: 3.953 kB / 444.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.5317, allocations: 0 / 444.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5317, allocations: 0 / 444.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.5322, allocations: 289.3 kB / 445 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.5324, allocations: 58.62 kB / 445.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.5324, allocations: 16.98 kB / 445.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.5324, allocations: 0 / 445.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.5326, allocations: 75.34 kB / 445.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.5326, allocations: 0 / 445.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005763/0.5332, allocations: 141.3 kB / 445.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.5333, allocations: 55.41 kB / 445.4 MB, free: 7.316 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.5335, allocations: 169.2 kB / 445.5 MB, free: 7.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.5335, allocations: 29.7 kB / 445.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.5336, allocations: 162.5 kB / 445.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.5337, allocations: 19.72 kB / 445.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.5337, allocations: 7.938 kB / 445.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5338, allocations: 315.5 kB / 446.1 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-05/0.5339, allocations: 32 kB / 446.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.5341, allocations: 57.7 kB / 446.2 MB, free: 6.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.5342, allocations: 35.98 kB / 446.2 MB, free: 6.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5342, allocations: 0 / 446.2 MB, free: 6.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003292/0.5346, allocations: 125.6 kB / 446.3 MB, free: 6.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.5346, allocations: 33.7 kB / 446.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.5346, allocations: 7.938 kB / 446.4 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5347, allocations: 3.984 kB / 446.4 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.5348, allocations: 16 kB / 446.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5348, allocations: 0 / 446.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.068e-05/0.5349, allocations: 8.125 kB / 446.4 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.535, allocations: 11.92 kB / 446.4 MB, free: 6.258 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.479e-05/0.5351, allocations: 112.9 kB / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002325/0.5353, allocations: 97.48 kB / 446.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.5354, allocations: 15.84 kB / 446.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.5357, allocations: 106.2 kB / 446.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.5357, allocations: 4 kB / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5357, allocations: 0 / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.5357, allocations: 7.984 kB / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.5363, allocations: 387.8 kB / 447.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5363, allocations: 0 / 447.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.5364, allocations: 8 kB / 447.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5364, allocations: 0 / 447.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.5364, allocations: 4 kB / 447.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5365, allocations: 0 / 447.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5365, allocations: 0 / 447.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.5368, allocations: 221.9 kB / 447.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.5369, allocations: 93 kB / 447.4 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.5369, allocations: 7.984 kB / 447.4 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.537, allocations: 0 / 447.4 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.5371, allocations: 8.172 kB / 447.4 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.5371, allocations: 12 kB / 447.5 MB, free: 5.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001514/0.5373, allocations: 139.1 kB / 447.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5373, allocations: 3.938 kB / 447.6 MB, free: 4.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003923/0.5377, allocations: 35.98 kB / 447.6 MB, free: 4.906 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.001543/0.5393, allocations: 1.089 MB / 448.7 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.5396, allocations: 155.3 kB / 448.9 MB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5397, allocations: 4 kB / 448.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.5398, allocations: 28 kB / 448.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.5401, allocations: 28.09 kB / 448.9 MB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/0.5409, allocations: 241.6 kB / 449.2 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.5412, allocations: 0.708 MB / 449.9 MB, free: 2.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/0.5413, allocations: 31.42 kB / 449.9 MB, free: 2.574 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5413, allocations: 0 / 449.9 MB, free: 2.574 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.584/3.125, allocations: 2.421 MB / 452.3 MB, free: 152 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat