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.Test75.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.203/2.203, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.000456, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3604, allocations: 54.87 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1435/0.504, allocations: 82.25 MB / 451.6 MB, free: 8.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5043, allocations: 79.94 kB / 451.7 MB, free: 8.152 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.02924/0.5335, allocations: 6.958 MB / 458.7 MB, free: 1.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.5336, allocations: 0 / 458.7 MB, free: 1.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.259e-05/0.5336, allocations: 4 kB / 458.7 MB, free: 1.172 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.0009529/0.5346, allocations: 0.6646 MB / 459.3 MB, free: 444 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5346, allocations: 8.031 kB / 459.3 MB, free: 436 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.065e-05/0.5347, allocations: 42.55 kB / 459.4 MB, free: 384 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.087e-05/0.5348, allocations: 23.72 kB / 459.4 MB, free: 360 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.5354, allocations: 279.1 kB / 459.7 MB, free: 36 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.5354, allocations: 12 kB / 459.7 MB, free: 24 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.5354, allocations: 11.95 kB / 459.7 MB, free: 12 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.5358, allocations: 107.4 kB / 459.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5358, allocations: 0 / 459.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.5359, allocations: 4 kB / 459.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.5359, allocations: 4 kB / 459.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.5361, allocations: 35.97 kB / 459.8 MB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007758/0.5369, allocations: 0.5047 MB / 460.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.5373, allocations: 129.3 kB / 460.5 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.5374, allocations: 0 / 460.5 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.5377, allocations: 117.1 kB / 460.6 MB, free: 15.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/0.5377, allocations: 0 / 460.6 MB, free: 15.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.00138/0.5391, allocations: 400.1 kB / 461 MB, free: 14.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.5392, allocations: 85.09 kB / 461.1 MB, free: 14.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.5398, allocations: 379.6 kB / 461.4 MB, free: 14.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.5399, allocations: 33.7 kB / 461.5 MB, free: 14.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.54, allocations: 199 kB / 461.7 MB, free: 13.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/0.5401, allocations: 55.28 kB / 461.7 MB, free: 13.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.5401, allocations: 4 kB / 461.7 MB, free: 13.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5403, allocations: 322.8 kB / 462 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.5405, allocations: 80.09 kB / 462.1 MB, free: 13.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.5408, allocations: 107.8 kB / 462.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.5412, allocations: 155.4 kB / 462.4 MB, free: 13.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5412, allocations: 0 / 462.4 MB, free: 13.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008153/0.542, allocations: 316.8 kB / 462.7 MB, free: 12.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/0.5421, allocations: 71.39 kB / 462.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5421, allocations: 0 / 462.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.5422, allocations: 4 kB / 462.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.5424, allocations: 32.05 kB / 462.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5424, allocations: 4 kB / 462.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.5426, allocations: 12 kB / 462.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.5427, allocations: 11.98 kB / 462.8 MB, free: 12.69 MB / 394.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 () * Number of clocked 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.0002199/0.5429, allocations: 173.9 kB / 463 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.543, allocations: 27.62 kB / 463 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006878/0.5437, allocations: 228 kB / 463.2 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5437, allocations: 4 kB / 463.2 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5437, allocations: 0 / 463.2 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5437, allocations: 3.938 kB / 463.2 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.545, allocations: 0.6906 MB / 463.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.545, allocations: 4 kB / 463.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.5451, allocations: 20.06 kB / 463.9 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.5452, allocations: 4 kB / 464 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.5452, allocations: 7.984 kB / 464 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.5452, allocations: 3.938 kB / 464 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5452, allocations: 0 / 464 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006526/0.5459, allocations: 415.3 kB / 464.4 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.5461, allocations: 144.6 kB / 464.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.5462, allocations: 4 kB / 464.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.5464, allocations: 8 kB / 464.5 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.5465, allocations: 19.91 kB / 464.5 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.5465, allocations: 12 kB / 464.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004981/0.547, allocations: 307 kB / 464.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.547, allocations: 0 / 464.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005901/0.5476, allocations: 91.86 kB / 464.9 MB, free: 10.41 MB / 394.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) * Number of clocked states: 0 () * 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.002993/0.5506, allocations: 1.745 MB / 466.7 MB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008185/0.5515, allocations: 338.8 kB / 467 MB, free: 8.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5515, allocations: 0 / 467 MB, free: 8.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.5518, allocations: 71.83 kB / 467.1 MB, free: 8.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.5523, allocations: 48.47 kB / 467.1 MB, free: 8.234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.5544, allocations: 1.378 MB / 468.5 MB, free: 6.766 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.5549, allocations: 0.7711 MB / 469.3 MB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.5551, allocations: 87.39 kB / 469.4 MB, free: 5.883 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5551, allocations: 0 / 469.4 MB, free: 5.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.618/3.173, allocations: 4.976 MB / 474.3 MB, free: 0.9023 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat