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.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.451/2.451, allocations: 235.1 MB / 243 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.768e-05/3.788e-05, allocations: 8 kB / 303.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3471, allocations: 54.85 MB / 358.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.4962, allocations: 81.5 MB / 439.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.4965, allocations: 75.91 kB / 439.7 MB, free: 13.14 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02975/0.5263, allocations: 6.693 MB / 446.4 MB, free: 6.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5263, allocations: 0 / 446.4 MB, free: 6.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.552e-05/0.5264, allocations: 8 kB / 446.4 MB, free: 6.422 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000873/0.5273, allocations: 0.6058 MB / 447 MB, free: 5.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5273, allocations: 8.031 kB / 447 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.5274, allocations: 23.8 kB / 447 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.528, allocations: 262.5 kB / 447.3 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.528, allocations: 7.938 kB / 447.3 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.5281, allocations: 8 kB / 447.3 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001553/0.5283, allocations: 35.98 kB / 447.4 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.5285, allocations: 99.31 kB / 447.5 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.5285, allocations: 4 kB / 447.5 MB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.5285, allocations: 3.938 kB / 447.5 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5286, allocations: 0 / 447.5 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000844/0.5294, allocations: 469.4 kB / 447.9 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.5297, allocations: 101.5 kB / 448 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.5298, allocations: 41.77 kB / 448.1 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.5299, allocations: 7.953 kB / 448.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.5301, allocations: 109.1 kB / 448.2 MB, free: 4.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.176e-06/0.5301, allocations: 0 / 448.2 MB, free: 4.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00112/0.5313, allocations: 312.2 kB / 448.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.5314, allocations: 81.05 kB / 448.6 MB, free: 4.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000533/0.5319, allocations: 306.2 kB / 448.9 MB, free: 3.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.532, allocations: 29.7 kB / 448.9 MB, free: 3.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.5321, allocations: 186.9 kB / 449.1 MB, free: 3.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/0.5322, allocations: 43.36 kB / 449.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.5322, allocations: 4 kB / 449.1 MB, free: 3.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5324, allocations: 326.8 kB / 449.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.5326, allocations: 68.17 kB / 449.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.5328, allocations: 99.61 kB / 449.6 MB, free: 2.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.5331, allocations: 71.97 kB / 449.7 MB, free: 2.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5331, allocations: 0 / 449.7 MB, free: 2.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006626/0.5338, allocations: 237.4 kB / 449.9 MB, free: 2.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.379e-05/0.5338, allocations: 71.39 kB / 450 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5339, allocations: 0 / 450 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.5339, allocations: 4 kB / 450 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.5342, allocations: 27.98 kB / 450 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.5342, allocations: 4.375 kB / 450 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.5344, allocations: 15.92 kB / 450 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.5345, allocations: 8 kB / 450 MB, free: 2.523 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.000135/0.5346, allocations: 129 kB / 450.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004369/0.5351, allocations: 173.2 kB / 450.3 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.5351, allocations: 31.64 kB / 450.4 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005604/0.5357, allocations: 191.3 kB / 450.5 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.5357, allocations: 7.938 kB / 450.5 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5357, allocations: 0 / 450.5 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5358, allocations: 3.984 kB / 450.6 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.5369, allocations: 0.6134 MB / 451.2 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5369, allocations: 0 / 451.2 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.537, allocations: 19.94 kB / 451.2 MB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.5371, allocations: 4.375 kB / 451.2 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.5371, allocations: 11.98 kB / 451.2 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5371, allocations: 0 / 451.2 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.5371, allocations: 0 / 451.2 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.5377, allocations: 402.8 kB / 451.6 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.5379, allocations: 124.8 kB / 451.7 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.538, allocations: 3.953 kB / 451.7 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.5382, allocations: 15.98 kB / 451.7 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.5383, allocations: 19.91 kB / 451.8 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.5383, allocations: 8 kB / 451.8 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003679/0.5387, allocations: 238 kB / 452 MB, free: 436 kB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5387, allocations: 0 / 452 MB, free: 436 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006082/0.5393, allocations: 87.77 kB / 452.1 MB, free: 348 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002605/0.5419, allocations: 1.583 MB / 453.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006489/0.5426, allocations: 310.7 kB / 454 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5427, allocations: 4.125 kB / 454 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.5428, allocations: 59.88 kB / 454 MB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.5435, allocations: 45.98 kB / 454.1 MB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.5448, allocations: 467.3 kB / 454.5 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.5453, allocations: 0.7594 MB / 455.3 MB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.5455, allocations: 71.41 kB / 455.4 MB, free: 12.98 MB / 394.7 MB Notification: Performance of SimCode: time 3.206e-06/0.5455, allocations: 4 kB / 455.4 MB, free: 12.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.6/3.146, allocations: 4.62 MB / 460 MB, free: 8.355 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat