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.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.002e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3342, allocations: 54.86 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.4769, allocations: 81.39 MB / 439.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4772, allocations: 79.95 kB / 439.6 MB, free: 13.29 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.02048/0.4977, allocations: 4.775 MB / 444.4 MB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4977, allocations: 0 / 444.4 MB, free: 8.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.4977, allocations: 0 / 444.4 MB, free: 8.504 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.000617/0.4984, allocations: 485.3 kB / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4984, allocations: 12.03 kB / 444.9 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.4985, allocations: 19.8 kB / 444.9 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.4989, allocations: 207.7 kB / 445.1 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.499, allocations: 4 kB / 445.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.499, allocations: 7.938 kB / 445.1 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.947e-05/0.4991, allocations: 19.98 kB / 445.1 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.4993, allocations: 49.67 kB / 445.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4993, allocations: 7.953 kB / 445.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4993, allocations: 0 / 445.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4993, allocations: 0 / 445.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.4998, allocations: 297.4 kB / 445.5 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.5, allocations: 50.64 kB / 445.5 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.5001, allocations: 20.97 kB / 445.5 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.5001, allocations: 4 kB / 445.5 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.5003, allocations: 67.36 kB / 445.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.973e-06/0.5003, allocations: 0 / 445.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005969/0.5009, allocations: 161.1 kB / 445.8 MB, free: 6.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.501, allocations: 59.41 kB / 445.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.5013, allocations: 210.2 kB / 446 MB, free: 6.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.5013, allocations: 33.64 kB / 446.1 MB, free: 6.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.5014, allocations: 170.5 kB / 446.2 MB, free: 6.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.5015, allocations: 23.66 kB / 446.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.5015, allocations: 4 kB / 446.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5016, allocations: 315.5 kB / 446.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.5017, allocations: 36 kB / 446.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.5019, allocations: 49.64 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.502, allocations: 39.98 kB / 446.7 MB, free: 5.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.502, allocations: 0 / 446.7 MB, free: 5.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003434/0.5024, allocations: 133.5 kB / 446.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/0.5024, allocations: 37.73 kB / 446.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.5024, allocations: 7.938 kB / 446.9 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5025, allocations: 4 kB / 446.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.5026, allocations: 12 kB / 446.9 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.5027, allocations: 0 / 446.9 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.5028, allocations: 7.938 kB / 446.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.5028, allocations: 7.984 kB / 446.9 MB, free: 5.762 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.443e-05/0.5029, allocations: 113.3 kB / 447 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002275/0.5032, allocations: 89.59 kB / 447.1 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.5032, allocations: 27.75 kB / 447.1 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.5035, allocations: 111.5 kB / 447.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5036, allocations: 0 / 447.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5036, allocations: 192 / 447.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.996e-06/0.5036, allocations: 7.984 kB / 447.2 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.5042, allocations: 400 kB / 447.6 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5042, allocations: 0 / 447.6 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.463e-05/0.5043, allocations: 8 kB / 447.6 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5043, allocations: 4.031 kB / 447.6 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.5044, allocations: 4 kB / 447.6 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5044, allocations: 3.984 kB / 447.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5044, allocations: 0 / 447.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.5047, allocations: 226 kB / 447.9 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.5048, allocations: 101 kB / 448 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.5049, allocations: 11.94 kB / 448 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.505, allocations: 3.938 kB / 448 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.5051, allocations: 11.98 kB / 448 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.5051, allocations: 7.938 kB / 448 MB, free: 4.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002198/0.5053, allocations: 169.2 kB / 448.2 MB, free: 4.383 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5053, allocations: 0 / 448.2 MB, free: 4.383 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004391/0.5058, allocations: 35.94 kB / 448.2 MB, free: 4.348 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.001559/0.5073, allocations: 1.094 MB / 449.3 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.5077, allocations: 155.3 kB / 449.4 MB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5077, allocations: 0 / 449.4 MB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.5078, allocations: 31.97 kB / 449.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.5082, allocations: 16.98 kB / 449.5 MB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008199/0.509, allocations: 293.8 kB / 449.8 MB, free: 2.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.5093, allocations: 0.7315 MB / 450.5 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.5094, allocations: 39.42 kB / 450.5 MB, free: 1.934 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5095, allocations: 0 / 450.5 MB, free: 1.934 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.596/3.105, allocations: 2.722 MB / 453.3 MB, free: 15.21 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat