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.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.182/2.182, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.736e-05, allocations: 8 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3235, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.4626, allocations: 81.22 MB / 439.4 MB, free: 13.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.4629, allocations: 71.91 kB / 439.4 MB, free: 13.45 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.02006/0.483, allocations: 4.668 MB / 444.1 MB, free: 8.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.483, allocations: 0 / 444.1 MB, free: 8.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.4831, allocations: 7.938 kB / 444.1 MB, free: 8.766 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006359/0.4837, allocations: 469.4 kB / 444.6 MB, free: 8.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4838, allocations: 8.031 kB / 444.6 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.4838, allocations: 15.81 kB / 444.6 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.4843, allocations: 214.9 kB / 444.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4843, allocations: 0 / 444.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4843, allocations: 4 kB / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.606e-05/0.4844, allocations: 19.94 kB / 444.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.4845, allocations: 49.67 kB / 444.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4846, allocations: 3.953 kB / 444.9 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4846, allocations: 0 / 444.9 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4846, allocations: 3.984 kB / 444.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.4849, allocations: 190.1 kB / 445.1 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.485, allocations: 42.62 kB / 445.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.4851, allocations: 20.86 kB / 445.1 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.4851, allocations: 4.078 kB / 445.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.4853, allocations: 67.34 kB / 445.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.294e-06/0.4853, allocations: 4 kB / 445.2 MB, free: 7.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002843/0.4856, allocations: 77.58 kB / 445.3 MB, free: 7.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.4857, allocations: 55.41 kB / 445.3 MB, free: 7.359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.486, allocations: 230.9 kB / 445.5 MB, free: 7.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.4861, allocations: 25.7 kB / 445.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.4862, allocations: 170.6 kB / 445.7 MB, free: 6.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.4862, allocations: 15.83 kB / 445.8 MB, free: 6.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/0.4862, allocations: 0 / 445.8 MB, free: 6.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4864, allocations: 314.8 kB / 446.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/0.4864, allocations: 24 kB / 446.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.4866, allocations: 49.58 kB / 446.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.4867, allocations: 39.92 kB / 446.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4867, allocations: 0 / 446.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002899/0.487, allocations: 105.5 kB / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.4871, allocations: 37.7 kB / 446.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4871, allocations: 0 / 446.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4871, allocations: 4 kB / 446.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.4872, allocations: 11.98 kB / 446.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4872, allocations: 0 / 446.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.4874, allocations: 7.906 kB / 446.3 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.4874, allocations: 11.98 kB / 446.3 MB, free: 6.289 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 (8): * Single equations (assignments): 7 * 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 9.337e-05/0.4875, allocations: 109.6 kB / 446.5 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001888/0.4877, allocations: 85.52 kB / 446.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.4877, allocations: 15.81 kB / 446.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.488, allocations: 91.3 kB / 446.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.488, allocations: 0 / 446.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.488, allocations: 3.953 kB / 446.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.488, allocations: 0 / 446.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.4882, allocations: 186.1 kB / 446.8 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4883, allocations: 8 kB / 446.8 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.4883, allocations: 4 kB / 446.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.4883, allocations: 0 / 446.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.4884, allocations: 0 / 446.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.4884, allocations: 3.984 kB / 446.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.4884, allocations: 256 / 446.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.4886, allocations: 117.5 kB / 447 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4887, allocations: 104.9 kB / 447.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.4888, allocations: 4 kB / 447.1 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.4889, allocations: 7.984 kB / 447.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.4889, allocations: 8 kB / 447.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.4889, allocations: 0 / 447.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002381/0.4892, allocations: 187 kB / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4892, allocations: 0 / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003282/0.4895, allocations: 35.92 kB / 447.3 MB, free: 5.246 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001327/0.4909, allocations: 0.8816 MB / 448.2 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.4912, allocations: 131.4 kB / 448.3 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4912, allocations: 0 / 448.3 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.581e-05/0.4913, allocations: 27.92 kB / 448.3 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.4916, allocations: 16.98 kB / 448.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.4924, allocations: 285 kB / 448.6 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.4927, allocations: 0.7236 MB / 449.4 MB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.757e-05/0.4928, allocations: 39.42 kB / 449.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4928, allocations: 0 / 449.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.792/3.285, allocations: 2.575 MB / 452 MB, free: 0.5117 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat