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.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.45/2.45, allocations: 235.1 MB / 243 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.163e-05/4.161e-05, allocations: 11.94 kB / 303.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3547, allocations: 54.86 MB / 358.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.5102, allocations: 81.5 MB / 439.6 MB, free: 14.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/0.5106, allocations: 75.95 kB / 439.7 MB, free: 13.94 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.04026/0.5509, allocations: 7.015 MB / 446.7 MB, free: 6.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.669e-06/0.5509, allocations: 0 / 446.7 MB, free: 6.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.055e-05/0.551, allocations: 11.94 kB / 446.7 MB, free: 6.898 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.001136/0.5521, allocations: 0.6191 MB / 447.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.5522, allocations: 8.031 kB / 447.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.5523, allocations: 35.56 kB / 447.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008316/0.5532, allocations: 296 kB / 447.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.5532, allocations: 0 / 447.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.5533, allocations: 19.86 kB / 447.7 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002189/0.5536, allocations: 35.98 kB / 447.7 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.5538, allocations: 95.23 kB / 447.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.5539, allocations: 0 / 447.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.5539, allocations: 4 kB / 447.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.5539, allocations: 0 / 447.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.555, allocations: 497.4 kB / 448.3 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.5554, allocations: 105.4 kB / 448.4 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.5555, allocations: 37.84 kB / 448.5 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.5556, allocations: 4 kB / 448.5 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.5559, allocations: 109 kB / 448.6 MB, free: 4.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.695e-06/0.5559, allocations: 0 / 448.6 MB, free: 4.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001456/0.5574, allocations: 328.2 kB / 448.9 MB, free: 4.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.5575, allocations: 85.09 kB / 449 MB, free: 4.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.5586, allocations: 413.5 kB / 449.4 MB, free: 4.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.5587, allocations: 29.7 kB / 449.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.5589, allocations: 203 kB / 449.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/0.559, allocations: 43.36 kB / 449.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.5591, allocations: 4 kB / 449.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.5593, allocations: 322.8 kB / 450 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.5596, allocations: 64.19 kB / 450 MB, free: 3.344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.5599, allocations: 107.5 kB / 450.1 MB, free: 3.227 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.5603, allocations: 67.97 kB / 450.2 MB, free: 3.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.5603, allocations: 0 / 450.2 MB, free: 3.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009361/0.5613, allocations: 225.6 kB / 450.4 MB, free: 2.934 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.5614, allocations: 73.98 kB / 450.5 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.5615, allocations: 3.938 kB / 450.5 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.5615, allocations: 12.05 kB / 450.5 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.5619, allocations: 35.98 kB / 450.5 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.5619, allocations: 4 kB / 450.6 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.5622, allocations: 11.94 kB / 450.6 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.5623, allocations: 11.94 kB / 450.6 MB, free: 2.773 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.0001839/0.5625, allocations: 128.8 kB / 450.7 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006206/0.5631, allocations: 177.5 kB / 450.9 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.5633, allocations: 31.62 kB / 450.9 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008043/0.5641, allocations: 212.3 kB / 451.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5641, allocations: 4 kB / 451.1 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5641, allocations: 0 / 451.1 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.5641, allocations: 0 / 451.1 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.5658, allocations: 0.6521 MB / 451.8 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.5658, allocations: 4 kB / 451.8 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.566, allocations: 24.05 kB / 451.8 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.5661, allocations: 0 / 451.8 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.5661, allocations: 4 kB / 451.8 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.5661, allocations: 4 kB / 451.8 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5661, allocations: 0 / 451.8 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007699/0.5669, allocations: 405.1 kB / 452.2 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.5672, allocations: 144.7 kB / 452.3 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.808e-05/0.5673, allocations: 4 kB / 452.3 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.5677, allocations: 7.984 kB / 452.4 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.5678, allocations: 11.98 kB / 452.4 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.5679, allocations: 12.19 kB / 452.4 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007526/0.5686, allocations: 320.5 kB / 452.7 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5687, allocations: 3.938 kB / 452.7 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001001/0.5697, allocations: 91.86 kB / 452.8 MB, free: 440 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.003586/0.5733, allocations: 1.606 MB / 454.4 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008312/0.5742, allocations: 310.7 kB / 454.7 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.5742, allocations: 0 / 454.7 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.5744, allocations: 59.88 kB / 454.8 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.575, allocations: 50.5 kB / 454.8 MB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.5766, allocations: 0.5705 MB / 455.4 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.5771, allocations: 0.7826 MB / 456.2 MB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.5774, allocations: 91.77 kB / 456.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5774, allocations: 0 / 456.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.582/3.16, allocations: 5.318 MB / 461.6 MB, free: 7.555 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat