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.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.32/2.32, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.013e-05, allocations: 8 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3346, allocations: 54.85 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.4787, allocations: 81.38 MB / 439.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.4791, allocations: 75.95 kB / 439.6 MB, free: 13.27 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.02139/0.5005, allocations: 4.831 MB / 444.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5005, allocations: 0 / 444.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.5005, allocations: 4 kB / 444.4 MB, free: 8.43 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.0006699/0.5012, allocations: 481.4 kB / 444.9 MB, free: 7.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5013, allocations: 12.03 kB / 444.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.5013, allocations: 15.81 kB / 444.9 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.5018, allocations: 218.8 kB / 445.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.5018, allocations: 0 / 445.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.5018, allocations: 4 kB / 445.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001046/0.5019, allocations: 23.98 kB / 445.2 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.5021, allocations: 53.61 kB / 445.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5021, allocations: 3.953 kB / 445.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.5021, allocations: 0 / 445.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5021, allocations: 4 kB / 445.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.5026, allocations: 305.4 kB / 445.5 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.5028, allocations: 46.7 kB / 445.6 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.5029, allocations: 24.97 kB / 445.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.5029, allocations: 3.938 kB / 445.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.5031, allocations: 71.34 kB / 445.7 MB, free: 7.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.5031, allocations: 0 / 445.7 MB, free: 7.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006255/0.5037, allocations: 161.1 kB / 445.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.5038, allocations: 55.41 kB / 445.9 MB, free: 6.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.5041, allocations: 219 kB / 446.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.5042, allocations: 29.7 kB / 446.1 MB, free: 6.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.642e-05/0.5043, allocations: 166.5 kB / 446.3 MB, free: 6.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.5043, allocations: 31.64 kB / 446.3 MB, free: 6.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.5044, allocations: 7.938 kB / 446.3 MB, free: 6.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5045, allocations: 315.5 kB / 446.6 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.5046, allocations: 31.98 kB / 446.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.5047, allocations: 49.72 kB / 446.7 MB, free: 5.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.5049, allocations: 35.98 kB / 446.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5049, allocations: 0 / 446.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003601/0.5053, allocations: 129.6 kB / 446.9 MB, free: 5.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.5053, allocations: 41.69 kB / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.5054, allocations: 3.953 kB / 446.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5054, allocations: 96 / 446.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.5056, allocations: 23.92 kB / 446.9 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5056, allocations: 0 / 446.9 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.5057, allocations: 4 kB / 446.9 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.5057, allocations: 4 kB / 446.9 MB, free: 5.68 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 9.831e-05/0.5058, allocations: 111 kB / 447.1 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000234/0.5061, allocations: 109.5 kB / 447.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.5061, allocations: 19.77 kB / 447.2 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.5065, allocations: 119.6 kB / 447.3 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5065, allocations: 0 / 447.3 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.5065, allocations: 0 / 447.3 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5065, allocations: 0 / 447.3 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/0.5071, allocations: 403.8 kB / 447.7 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5072, allocations: 0 / 447.7 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.64e-05/0.5073, allocations: 12.03 kB / 447.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5073, allocations: 0 / 447.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.5073, allocations: 7.984 kB / 447.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5073, allocations: 3.984 kB / 447.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5073, allocations: 0 / 447.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.5076, allocations: 221.8 kB / 447.9 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.5078, allocations: 108.9 kB / 448 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.5078, allocations: 192 / 448 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.5079, allocations: 8 kB / 448 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.508, allocations: 11.98 kB / 448.1 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.508, allocations: 4 kB / 448.1 MB, free: 4.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002446/0.5083, allocations: 187 kB / 448.2 MB, free: 4.273 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5083, allocations: 4 kB / 448.2 MB, free: 4.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000409/0.5087, allocations: 43.92 kB / 448.3 MB, free: 4.227 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.001639/0.5104, allocations: 1.094 MB / 449.4 MB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.5108, allocations: 159.3 kB / 449.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5108, allocations: 3.938 kB / 449.5 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.357e-05/0.5109, allocations: 24 kB / 449.6 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.5113, allocations: 20.98 kB / 449.6 MB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009173/0.5123, allocations: 305.9 kB / 449.9 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.5127, allocations: 0.7237 MB / 450.6 MB, free: 1.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5128, allocations: 43.42 kB / 450.7 MB, free: 1.797 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5129, allocations: 0 / 450.7 MB, free: 1.797 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.525/3.038, allocations: 2.835 MB / 453.5 MB, free: 14.96 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat