Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.117/2.117, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004734, allocations: 19.94 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1156, allocations: 48.71 MB / 331.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5425, allocations: 76.08 MB / 407.5 MB, free: 8.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5428, allocations: 79.95 kB / 407.5 MB, free: 8.902 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02161/0.5645, allocations: 4.963 MB / 412.5 MB, free: 3.965 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5645, allocations: 0 / 412.5 MB, free: 3.965 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.5646, allocations: 0 / 412.5 MB, free: 3.965 MB / 330.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.0006815/0.5653, allocations: 424.9 kB / 412.9 MB, free: 3.496 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.5653, allocations: 11.97 kB / 412.9 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.5654, allocations: 34.56 kB / 413 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.5654, allocations: 11.89 kB / 413 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.5657, allocations: 194.9 kB / 413.2 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.5658, allocations: 0 / 413.2 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.5658, allocations: 8 kB / 413.2 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.566, allocations: 59.33 kB / 413.2 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.566, allocations: 0 / 413.2 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.566, allocations: 0 / 413.2 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.566, allocations: 4 kB / 413.2 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.5661, allocations: 16 kB / 413.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.5666, allocations: 288.8 kB / 413.5 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.5668, allocations: 42.5 kB / 413.6 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.5669, allocations: 0 / 413.6 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.567, allocations: 59.5 kB / 413.6 MB, free: 2.648 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.5671, allocations: 3.938 kB / 413.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005422/0.5676, allocations: 117.4 kB / 413.7 MB, free: 2.523 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.5677, allocations: 77.11 kB / 413.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.5679, allocations: 132.8 kB / 413.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.5679, allocations: 29.7 kB / 414 MB, free: 2.258 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.568, allocations: 154.6 kB / 414.1 MB, free: 2.105 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.5681, allocations: 23.73 kB / 414.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.5681, allocations: 0 / 414.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5683, allocations: 314.8 kB / 414.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.5683, allocations: 23.98 kB / 414.5 MB, free: 1.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.482e-05/0.5684, allocations: 29.72 kB / 414.5 MB, free: 1.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.5686, allocations: 65.61 kB / 414.6 MB, free: 1.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5686, allocations: 0 / 414.6 MB, free: 1.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002608/0.5688, allocations: 107.4 kB / 414.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.5689, allocations: 37.69 kB / 414.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5689, allocations: 0 / 414.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.569, allocations: 4.031 kB / 414.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.5691, allocations: 11.94 kB / 414.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5691, allocations: 3.938 kB / 414.7 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.5692, allocations: 8 kB / 414.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.5692, allocations: 7.953 kB / 414.8 MB, free: 1.441 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001302/0.5693, allocations: 117.8 kB / 414.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.5694, allocations: 8.188 kB / 414.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.5697, allocations: 89.78 kB / 415 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5697, allocations: 7.984 kB / 415 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5697, allocations: 4.125 kB / 415 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5697, allocations: 96 / 415 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.5702, allocations: 350.4 kB / 415.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5703, allocations: 0 / 415.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.5703, allocations: 11.98 kB / 415.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5703, allocations: 0 / 415.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.5704, allocations: 0 / 415.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5704, allocations: 0 / 415.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5704, allocations: 4 kB / 415.3 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.5707, allocations: 179.3 kB / 415.5 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.5707, allocations: 89 kB / 415.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.5708, allocations: 0 / 415.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.5709, allocations: 4 kB / 415.6 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.5709, allocations: 7.984 kB / 415.6 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.571, allocations: 4 kB / 415.6 MB, free: 492 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.5711, allocations: 111.8 kB / 415.7 MB, free: 380 kB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5711, allocations: 0 / 415.7 MB, free: 380 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004245/0.5716, allocations: 47.92 kB / 415.8 MB, free: 332 kB / 330.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001833/0.5734, allocations: 1.051 MB / 416.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.5737, allocations: 107.4 kB / 416.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.5737, allocations: 8 kB / 416.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.5738, allocations: 19.94 kB / 416.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.5741, allocations: 11.98 kB / 417 MB, free: 15.18 MB / 346.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.5772, allocations: 1.148 MB / 418.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.5775, allocations: 0.6965 MB / 418.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.439e-05/0.5776, allocations: 27.42 kB / 418.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of SimCode: time 1.393e-06/0.5777, allocations: 0 / 418.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.615/3.193, allocations: 2.256 MB / 421.1 MB, free: 10.97 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat