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.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.208/2.208, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.187e-05, allocations: 5.812 kB / 303.3 MB, free: 9.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 54.85 MB / 358.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.2685, allocations: 81.4 MB / 439.5 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/0.2689, allocations: 71.97 kB / 439.6 MB, free: 8.746 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.02791/0.2969, allocations: 4.528 MB / 444.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2969, allocations: 0 / 444.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.2969, allocations: 0 / 444.1 MB, free: 4.215 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.0008394/0.2978, allocations: 469.4 kB / 444.6 MB, free: 3.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.2979, allocations: 12.03 kB / 444.6 MB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.298, allocations: 11.91 kB / 444.6 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.2985, allocations: 203.7 kB / 444.8 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2985, allocations: 0 / 444.8 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.2985, allocations: 4 kB / 444.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.2986, allocations: 23.98 kB / 444.8 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2988, allocations: 49.62 kB / 444.9 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2988, allocations: 3.953 kB / 444.9 MB, free: 3.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.2988, allocations: 3.984 kB / 444.9 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2988, allocations: 0 / 444.9 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.2993, allocations: 297.4 kB / 445.2 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.2995, allocations: 46.69 kB / 445.2 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.2996, allocations: 16.98 kB / 445.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.2996, allocations: 7.922 kB / 445.2 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.2998, allocations: 79.34 kB / 445.3 MB, free: 2.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.2998, allocations: 0 / 445.3 MB, free: 2.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006529/0.3004, allocations: 149.2 kB / 445.5 MB, free: 2.695 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3005, allocations: 55.41 kB / 445.5 MB, free: 2.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.3008, allocations: 161.2 kB / 445.7 MB, free: 2.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.3009, allocations: 33.69 kB / 445.7 MB, free: 2.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.301, allocations: 158.6 kB / 445.9 MB, free: 2.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.3011, allocations: 19.66 kB / 445.9 MB, free: 2.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.3011, allocations: 8 kB / 445.9 MB, free: 2.242 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3013, allocations: 318.8 kB / 446.2 MB, free: 1.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3015, allocations: 32 kB / 446.2 MB, free: 1.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.3017, allocations: 51.39 kB / 446.3 MB, free: 1.836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.3019, allocations: 35.98 kB / 446.3 MB, free: 1.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3019, allocations: 3.938 kB / 446.3 MB, free: 1.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004555/0.3024, allocations: 125.5 kB / 446.5 MB, free: 1.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/0.3025, allocations: 37.73 kB / 446.5 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3025, allocations: 7.953 kB / 446.5 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3025, allocations: 0 / 446.5 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.3028, allocations: 19.98 kB / 446.5 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3028, allocations: 0 / 446.5 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.303, allocations: 4 kB / 446.5 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.303, allocations: 4 kB / 446.5 MB, free: 1.59 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 0.0001411/0.3032, allocations: 115.1 kB / 446.6 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002882/0.3035, allocations: 101.5 kB / 446.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.3035, allocations: 15.86 kB / 446.8 MB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.304, allocations: 114.4 kB / 446.9 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.304, allocations: 4 kB / 446.9 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.304, allocations: 0 / 446.9 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3041, allocations: 0 / 446.9 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/0.3049, allocations: 375.8 kB / 447.2 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3049, allocations: 3.984 kB / 447.2 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.305, allocations: 8 kB / 447.2 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.305, allocations: 8.031 kB / 447.3 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.3051, allocations: 0 / 447.3 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.3051, allocations: 0 / 447.3 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3051, allocations: 0 / 447.3 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.3056, allocations: 225.9 kB / 447.5 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.3057, allocations: 97 kB / 447.6 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.3058, allocations: 7.984 kB / 447.6 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.306, allocations: 4 kB / 447.6 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.3061, allocations: 4 kB / 447.6 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.3061, allocations: 3.984 kB / 447.6 MB, free: 420 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002205/0.3063, allocations: 131.5 kB / 447.7 MB, free: 288 kB / 378.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.3063, allocations: 0 / 447.7 MB, free: 288 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006439/0.307, allocations: 43.92 kB / 447.8 MB, free: 244 kB / 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.3186/0.6256, allocations: 1.092 MB / 448.9 MB, free: 84.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.626, allocations: 152.9 kB / 449 MB, free: 84.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6261, allocations: 0 / 449 MB, free: 84.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.6262, allocations: 36.72 kB / 449 MB, free: 84.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.6268, allocations: 17.27 kB / 449.1 MB, free: 84.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/0.6275, allocations: 239.6 kB / 449.3 MB, free: 84.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.6277, allocations: 0.7092 MB / 450 MB, free: 83.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.6278, allocations: 34.62 kB / 450 MB, free: 83.44 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6278, allocations: 0 / 450 MB, free: 83.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.557/3.185, allocations: 2.432 MB / 452.5 MB, free: 83.23 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat