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.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.681e-05/2.695e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3377, allocations: 54.86 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.486, allocations: 81.24 MB / 439.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4864, allocations: 75.95 kB / 439.5 MB, free: 13.41 MB / 378.7 MB [/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$startTime.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$startTime.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$startTime.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$startTime.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$startTime_0.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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02399/0.5104, allocations: 5.879 MB / 445.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5104, allocations: 0 / 445.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.479e-05/0.5105, allocations: 8 kB / 445.3 MB, free: 7.516 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001112/0.5116, allocations: 0.7185 MB / 446.1 MB, free: 6.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.5116, allocations: 12.03 kB / 446.1 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.5118, allocations: 47.44 kB / 446.1 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.5129, allocations: 463.1 kB / 446.6 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.513, allocations: 4 kB / 446.6 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.513, allocations: 8 kB / 446.6 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001377/0.5132, allocations: 31.92 kB / 446.6 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.5134, allocations: 83.33 kB / 446.7 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5134, allocations: 4 kB / 446.7 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.5134, allocations: 0 / 446.7 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.5134, allocations: 0 / 446.7 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.514, allocations: 382.8 kB / 447.1 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.5143, allocations: 93.3 kB / 447.2 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.5144, allocations: 41.8 kB / 447.2 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.5144, allocations: 4 kB / 447.2 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.5147, allocations: 101.7 kB / 447.3 MB, free: 5.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.013e-06/0.5147, allocations: 0 / 447.3 MB, free: 5.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004971/0.5152, allocations: 169 kB / 447.5 MB, free: 5.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.5152, allocations: 85.05 kB / 447.6 MB, free: 5.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.5171, allocations: 0.8769 MB / 448.4 MB, free: 4.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.5171, allocations: 33.7 kB / 448.5 MB, free: 4.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.5173, allocations: 246.8 kB / 448.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.5174, allocations: 31.55 kB / 448.7 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.5174, allocations: 4 kB / 448.7 MB, free: 3.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5176, allocations: 318.8 kB / 449.1 MB, free: 3.539 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.5177, allocations: 47.98 kB / 449.1 MB, free: 3.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.5179, allocations: 88.17 kB / 449.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.5181, allocations: 63.97 kB / 449.3 MB, free: 3.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5181, allocations: 0 / 449.3 MB, free: 3.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005309/0.5187, allocations: 189.4 kB / 449.4 MB, free: 3.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.973e-05/0.5188, allocations: 63.39 kB / 449.5 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5188, allocations: 8.062 kB / 449.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5188, allocations: 0 / 449.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.519, allocations: 23.98 kB / 449.5 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.5191, allocations: 0 / 449.5 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.5193, allocations: 27.78 kB / 449.6 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.5193, allocations: 12 kB / 449.6 MB, free: 2.996 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.0001251/0.5195, allocations: 119 kB / 449.7 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000405/0.5199, allocations: 181.2 kB / 449.9 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.52, allocations: 51.34 kB / 449.9 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.5205, allocations: 181.7 kB / 450.1 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.5206, allocations: 3.953 kB / 450.1 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.5206, allocations: 7.938 kB / 450.1 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5206, allocations: 3.984 kB / 450.1 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.5211, allocations: 345.9 kB / 450.4 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5211, allocations: 0 / 450.4 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.548e-05/0.5212, allocations: 12 kB / 450.5 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.5212, allocations: 3.984 kB / 450.5 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.5212, allocations: 4 kB / 450.5 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5212, allocations: 4 kB / 450.5 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5213, allocations: 0 / 450.5 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.5217, allocations: 215 kB / 450.7 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.5221, allocations: 192.4 kB / 450.9 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.832e-05/0.5222, allocations: 7.984 kB / 450.9 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.5224, allocations: 7.938 kB / 450.9 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.5225, allocations: 23.88 kB / 450.9 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.5225, allocations: 4 kB / 450.9 MB, free: 1.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001216/0.5237, allocations: 0.6824 MB / 451.6 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5237, allocations: 0 / 451.6 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005453/0.5243, allocations: 107.8 kB / 451.7 MB, free: 0.7656 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002119/0.5264, allocations: 1.206 MB / 452.9 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005254/0.527, allocations: 274.7 kB / 453.2 MB, free: 15.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.527, allocations: 3.938 kB / 453.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.5271, allocations: 47.92 kB / 453.2 MB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.5277, allocations: 54.08 kB / 453.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.5299, allocations: 0.9186 MB / 454.2 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.5305, allocations: 0.8391 MB / 455 MB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.5308, allocations: 155.4 kB / 455.2 MB, free: 13.22 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5308, allocations: 0 / 455.2 MB, free: 13.22 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.706/3.236, allocations: 8.287 MB / 463.5 MB, free: 4.926 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat