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.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.075e-05/4.086e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4179, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.5689, allocations: 81.24 MB / 439.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5693, allocations: 75.97 kB / 439.4 MB, free: 13.43 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.02028/0.5896, allocations: 4.664 MB / 444.1 MB, free: 8.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5896, allocations: 0 / 444.1 MB, free: 8.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.5896, allocations: 4 kB / 444.1 MB, free: 8.758 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.0006106/0.5903, allocations: 469.4 kB / 444.6 MB, free: 8.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5903, allocations: 8.031 kB / 444.6 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.5904, allocations: 15.81 kB / 444.6 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.5908, allocations: 218.8 kB / 444.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.5908, allocations: 8 kB / 444.8 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.5909, allocations: 4 kB / 444.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.974e-05/0.591, allocations: 15.98 kB / 444.8 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.5911, allocations: 45.67 kB / 444.9 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5911, allocations: 3.953 kB / 444.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5911, allocations: 0 / 444.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5911, allocations: 0 / 444.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.5914, allocations: 194.1 kB / 445.1 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.5916, allocations: 46.58 kB / 445.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.5916, allocations: 20.94 kB / 445.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.5917, allocations: 4 kB / 445.1 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.5918, allocations: 63.41 kB / 445.2 MB, free: 7.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.004e-06/0.5919, allocations: 0 / 445.2 MB, free: 7.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000278/0.5921, allocations: 81.58 kB / 445.3 MB, free: 7.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.5922, allocations: 55.41 kB / 445.3 MB, free: 7.348 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.5926, allocations: 226.9 kB / 445.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.5926, allocations: 33.64 kB / 445.6 MB, free: 7.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.5927, allocations: 166.6 kB / 445.8 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.5928, allocations: 15.83 kB / 445.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.5928, allocations: 0 / 445.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5929, allocations: 318.8 kB / 446.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.593, allocations: 27.94 kB / 446.1 MB, free: 6.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.5932, allocations: 45.7 kB / 446.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.5933, allocations: 31.92 kB / 446.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5933, allocations: 0 / 446.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002928/0.5936, allocations: 113.5 kB / 446.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.5936, allocations: 29.7 kB / 446.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.5937, allocations: 4 kB / 446.3 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5937, allocations: 0 / 446.3 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.5938, allocations: 11.98 kB / 446.3 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5938, allocations: 0 / 446.3 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.594, allocations: 15.94 kB / 446.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.594, allocations: 7.953 kB / 446.4 MB, free: 6.277 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 0.0001028/0.5941, allocations: 115 kB / 446.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001859/0.5943, allocations: 77.58 kB / 446.6 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.5943, allocations: 15.81 kB / 446.6 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.5946, allocations: 87.3 kB / 446.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5946, allocations: 0 / 446.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.5946, allocations: 3.953 kB / 446.7 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.5947, allocations: 3.984 kB / 446.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.5949, allocations: 186.1 kB / 446.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5949, allocations: 0 / 446.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.595, allocations: 7.938 kB / 446.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.595, allocations: 0 / 446.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.595, allocations: 3.984 kB / 446.9 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.595, allocations: 4 kB / 446.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.595, allocations: 0 / 446.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.5953, allocations: 117.8 kB / 447 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.5954, allocations: 104.9 kB / 447.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.5955, allocations: 7.984 kB / 447.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.5955, allocations: 0 / 447.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.5956, allocations: 4 kB / 447.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.5956, allocations: 3.984 kB / 447.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00025/0.5959, allocations: 191 kB / 447.3 MB, free: 5.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5959, allocations: 3.938 kB / 447.3 MB, free: 5.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.5962, allocations: 32 kB / 447.3 MB, free: 5.234 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.001397/0.5976, allocations: 0.8848 MB / 448.2 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.598, allocations: 143.3 kB / 448.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.598, allocations: 0 / 448.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.846e-05/0.5981, allocations: 20 kB / 448.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.5984, allocations: 16.98 kB / 448.4 MB, free: 4.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000752/0.5991, allocations: 281.2 kB / 448.6 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.5995, allocations: 0.7236 MB / 449.4 MB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.772e-05/0.5996, allocations: 35.42 kB / 449.4 MB, free: 3.078 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5996, allocations: 3.938 kB / 449.4 MB, free: 3.074 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.588/3.187, allocations: 2.577 MB / 452 MB, free: 0.4961 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat