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.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.303/2.303, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004386, allocations: 12 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.332, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.4796, allocations: 82.11 MB / 451.5 MB, free: 8.379 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.4799, allocations: 79.89 kB / 451.6 MB, free: 8.301 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. Notification: Performance of FrontEnd - DAE generated: time 0.02043/0.5004, allocations: 4.481 MB / 456 MB, free: 3.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5004, allocations: 0 / 456 MB, free: 3.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.5004, allocations: 0 / 456 MB, free: 3.812 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.0006336/0.5011, allocations: 486.1 kB / 456.5 MB, free: 3.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5011, allocations: 8.031 kB / 456.5 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.5012, allocations: 38.56 kB / 456.6 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.5012, allocations: 11.89 kB / 456.6 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.5016, allocations: 210.3 kB / 456.8 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.5016, allocations: 4 kB / 456.8 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.5017, allocations: 11.98 kB / 456.8 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.5019, allocations: 53.67 kB / 456.8 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5019, allocations: 0 / 456.8 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.5019, allocations: 3.953 kB / 456.8 MB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.502, allocations: 4 kB / 456.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.5021, allocations: 19.98 kB / 456.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.5026, allocations: 308.9 kB / 457.2 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.5029, allocations: 66.55 kB / 457.2 MB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.5029, allocations: 4 kB / 457.2 MB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.5032, allocations: 80.11 kB / 457.3 MB, free: 2.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.615e-06/0.5032, allocations: 0 / 457.3 MB, free: 2.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007933/0.504, allocations: 185.1 kB / 457.5 MB, free: 2.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.504, allocations: 51.41 kB / 457.5 MB, free: 2.098 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.5043, allocations: 165.3 kB / 457.7 MB, free: 1.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.5043, allocations: 29.7 kB / 457.7 MB, free: 1.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.5044, allocations: 166.5 kB / 457.9 MB, free: 1.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.5045, allocations: 27.64 kB / 457.9 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.5045, allocations: 4 kB / 457.9 MB, free: 1.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5046, allocations: 318.8 kB / 458.2 MB, free: 1.379 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.5048, allocations: 39.97 kB / 458.3 MB, free: 1.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.5049, allocations: 53.7 kB / 458.3 MB, free: 1.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.5051, allocations: 69.69 kB / 458.4 MB, free: 1.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5051, allocations: 8 kB / 458.4 MB, free: 1.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004342/0.5056, allocations: 175.2 kB / 458.6 MB, free: 1.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.5056, allocations: 37.7 kB / 458.6 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5057, allocations: 4 kB / 458.6 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5057, allocations: 0 / 458.6 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.5058, allocations: 15.98 kB / 458.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.5059, allocations: 0 / 458.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.506, allocations: 8 kB / 458.6 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.506, allocations: 4 kB / 458.7 MB, free: 0.9414 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 () * Number of clocked 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.0001352/0.5061, allocations: 133.8 kB / 458.8 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.5062, allocations: 19.77 kB / 458.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.5066, allocations: 118.3 kB / 458.9 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5066, allocations: 0 / 458.9 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5066, allocations: 384 / 458.9 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5066, allocations: 0 / 458.9 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.5073, allocations: 423.3 kB / 459.3 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5073, allocations: 4 kB / 459.3 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/0.5074, allocations: 11.98 kB / 459.3 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5074, allocations: 3.938 kB / 459.3 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.5074, allocations: 4 kB / 459.4 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.5075, allocations: 0 / 459.4 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5075, allocations: 0 / 459.4 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.5079, allocations: 234.1 kB / 459.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.508, allocations: 96.91 kB / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.508, allocations: 7.984 kB / 459.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.5081, allocations: 4 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.5082, allocations: 4 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.5082, allocations: 7.984 kB / 459.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.5084, allocations: 135.2 kB / 459.8 MB, free: 15.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5084, allocations: 0 / 459.8 MB, free: 15.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004011/0.5088, allocations: 47.92 kB / 459.9 MB, free: 15.58 MB / 394.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) * Number of clocked states: 0 () * 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.001876/0.5107, allocations: 1.17 MB / 461 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.5112, allocations: 175.3 kB / 461.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5112, allocations: 0 / 461.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.5113, allocations: 39.91 kB / 461.3 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.5117, allocations: 15.98 kB / 461.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.5127, allocations: 0.6656 MB / 461.9 MB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.513, allocations: 0.712 MB / 462.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.3e-05/0.5132, allocations: 35.42 kB / 462.7 MB, free: 12.72 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5132, allocations: 0 / 462.7 MB, free: 12.72 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.613/3.126, allocations: 2.409 MB / 465.1 MB, free: 10.32 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat