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.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.238/2.238, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.155e-05, allocations: 4 kB / 303.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.35, allocations: 54.86 MB / 358.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.5227, allocations: 81.4 MB / 439.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.5231, allocations: 83.89 kB / 439.6 MB, free: 14.04 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.02141/0.5445, allocations: 4.694 MB / 444.3 MB, free: 9.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5445, allocations: 0 / 444.3 MB, free: 9.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.5446, allocations: 0 / 444.3 MB, free: 9.344 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.0006783/0.5453, allocations: 473.4 kB / 444.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.5453, allocations: 12.03 kB / 444.8 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.5454, allocations: 7.906 kB / 444.8 MB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.5458, allocations: 218.8 kB / 445 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.5459, allocations: 4 kB / 445 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.5459, allocations: 7.984 kB / 445 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.448e-05/0.546, allocations: 16 kB / 445 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.5462, allocations: 61.55 kB / 445.1 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.5462, allocations: 3.953 kB / 445.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.5462, allocations: 0 / 445.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5462, allocations: 0 / 445.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.5468, allocations: 289.5 kB / 445.4 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.5469, allocations: 50.7 kB / 445.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.547, allocations: 20.97 kB / 445.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.547, allocations: 0 / 445.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.5472, allocations: 71.3 kB / 445.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/0.5472, allocations: 0 / 445.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006394/0.5479, allocations: 161.1 kB / 445.7 MB, free: 7.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.5479, allocations: 63.34 kB / 445.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.5483, allocations: 190.6 kB / 445.9 MB, free: 7.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.5483, allocations: 29.7 kB / 445.9 MB, free: 7.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.5485, allocations: 162.6 kB / 446.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.5485, allocations: 31.58 kB / 446.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.5485, allocations: 0 / 446.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5487, allocations: 315.5 kB / 446.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.5488, allocations: 35.98 kB / 446.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.5489, allocations: 51.83 kB / 446.5 MB, free: 6.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.5491, allocations: 35.98 kB / 446.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5491, allocations: 0 / 446.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000364/0.5494, allocations: 129.5 kB / 446.7 MB, free: 6.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/0.5495, allocations: 37.69 kB / 446.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.5495, allocations: 3.953 kB / 446.7 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.5496, allocations: 4 kB / 446.7 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.5497, allocations: 19.98 kB / 446.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5498, allocations: 4.031 kB / 446.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.5499, allocations: 4 kB / 446.8 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.5499, allocations: 8 kB / 446.8 MB, free: 6.648 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 0.0001079/0.55, allocations: 108.9 kB / 446.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002389/0.5503, allocations: 93.58 kB / 447 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.5503, allocations: 19.77 kB / 447 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.5507, allocations: 115.4 kB / 447.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.5507, allocations: 4 kB / 447.1 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5507, allocations: 4.188 kB / 447.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5507, allocations: 0 / 447.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006405/0.5514, allocations: 395.7 kB / 447.5 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.5514, allocations: 192 / 447.5 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/0.5515, allocations: 16 kB / 447.5 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.5515, allocations: 0 / 447.5 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.5515, allocations: 7.984 kB / 447.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5515, allocations: 0 / 447.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.5515, allocations: 32 / 447.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.5519, allocations: 217.9 kB / 447.7 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.552, allocations: 100.9 kB / 447.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.552, allocations: 4 kB / 447.8 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.5522, allocations: 0 / 447.8 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.5522, allocations: 11.98 kB / 447.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.5523, allocations: 11.94 kB / 447.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002165/0.5525, allocations: 156.3 kB / 448 MB, free: 5.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5525, allocations: 0 / 448 MB, free: 5.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004233/0.5529, allocations: 43.92 kB / 448.1 MB, free: 5.258 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.001663/0.5546, allocations: 1.087 MB / 449.1 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003674/0.555, allocations: 159.4 kB / 449.3 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.555, allocations: 0 / 449.3 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.605e-05/0.5551, allocations: 32.06 kB / 449.3 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.5555, allocations: 16.8 kB / 449.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.5564, allocations: 288.7 kB / 449.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.5568, allocations: 0.7157 MB / 450.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.5569, allocations: 39.42 kB / 450.4 MB, free: 2.867 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5569, allocations: 0 / 450.4 MB, free: 2.867 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.589/3.146, allocations: 2.632 MB / 453 MB, free: 232 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat