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.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.218/2.218, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004377, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3373, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.5065, allocations: 82.25 MB / 451.6 MB, free: 8.344 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.5068, allocations: 87.89 kB / 451.7 MB, free: 8.258 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.03059/0.5375, allocations: 6.781 MB / 458.5 MB, free: 1.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.739e-06/0.5375, allocations: 0 / 458.5 MB, free: 1.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.193e-05/0.5375, allocations: 7.938 kB / 458.5 MB, free: 1.449 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.0009496/0.5385, allocations: 0.6297 MB / 459.1 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5385, allocations: 8.031 kB / 459.1 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.891e-05/0.5386, allocations: 46.55 kB / 459.2 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/0.5387, allocations: 23.72 kB / 459.2 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.5393, allocations: 270.5 kB / 459.5 MB, free: 368 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.5393, allocations: 4 kB / 459.5 MB, free: 364 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.5394, allocations: 8 kB / 459.5 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.5397, allocations: 99.31 kB / 459.6 MB, free: 244 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.5397, allocations: 0 / 459.6 MB, free: 244 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.5397, allocations: 11.98 kB / 459.6 MB, free: 232 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.5398, allocations: 4 kB / 459.6 MB, free: 228 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.54, allocations: 51.91 kB / 459.6 MB, free: 176 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008176/0.5408, allocations: 492.8 kB / 460.1 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.5413, allocations: 125.4 kB / 460.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.5413, allocations: 4.125 kB / 460.2 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.5417, allocations: 120.9 kB / 460.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.294e-06/0.5417, allocations: 4 kB / 460.4 MB, free: 15.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001428/0.5431, allocations: 376.2 kB / 460.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.5432, allocations: 88.98 kB / 460.8 MB, free: 14.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005429/0.5438, allocations: 317.7 kB / 461.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.5438, allocations: 33.7 kB / 461.2 MB, free: 14.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.5439, allocations: 183 kB / 461.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/0.544, allocations: 47.34 kB / 461.4 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.5441, allocations: 8 kB / 461.4 MB, free: 14.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5442, allocations: 322.8 kB / 461.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.5445, allocations: 76.14 kB / 461.8 MB, free: 13.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.5448, allocations: 107.8 kB / 461.9 MB, free: 13.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.5452, allocations: 151.3 kB / 462 MB, free: 13.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.5452, allocations: 4 kB / 462 MB, free: 13.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008218/0.546, allocations: 320.8 kB / 462.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/0.5461, allocations: 67.38 kB / 462.4 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5461, allocations: 0 / 462.4 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.5462, allocations: 4 kB / 462.4 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.5464, allocations: 39.92 kB / 462.5 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.5464, allocations: 0 / 462.5 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.5466, allocations: 8 kB / 462.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.5467, allocations: 20.06 kB / 462.5 MB, free: 13.11 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.0002161/0.5469, allocations: 157.8 kB / 462.6 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.547, allocations: 31.56 kB / 462.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007035/0.5477, allocations: 215.3 kB / 462.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.5477, allocations: 0 / 462.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5477, allocations: 384 / 462.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.5478, allocations: 7.984 kB / 462.9 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.549, allocations: 0.6593 MB / 463.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.549, allocations: 0.75 kB / 463.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.5492, allocations: 27.86 kB / 463.6 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.5492, allocations: 7.938 kB / 463.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.5492, allocations: 4 kB / 463.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.5492, allocations: 0 / 463.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.5493, allocations: 12.06 kB / 463.6 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.5499, allocations: 431.1 kB / 464 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.5501, allocations: 124.8 kB / 464.1 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.5502, allocations: 3.953 kB / 464.2 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.5504, allocations: 15.98 kB / 464.2 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.5505, allocations: 11.98 kB / 464.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.5505, allocations: 8 kB / 464.2 MB, free: 11.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004047/0.551, allocations: 245.9 kB / 464.4 MB, free: 11.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.551, allocations: 0 / 464.4 MB, free: 11.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005979/0.5516, allocations: 83.92 kB / 464.5 MB, free: 10.95 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.002983/0.5546, allocations: 1.76 MB / 466.3 MB, free: 9.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007899/0.5554, allocations: 338.7 kB / 466.6 MB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5554, allocations: 0 / 466.6 MB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.5557, allocations: 67.91 kB / 466.7 MB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.5562, allocations: 41.38 kB / 466.7 MB, free: 8.766 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.5581, allocations: 1.291 MB / 468 MB, free: 7.395 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.5586, allocations: 0.7556 MB / 468.8 MB, free: 6.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.5588, allocations: 71.41 kB / 468.8 MB, free: 6.543 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5588, allocations: 0 / 468.8 MB, free: 6.543 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.572/3.131, allocations: 4.569 MB / 473.4 MB, free: 1.977 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat