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.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.017/2.017, allocations: 209.2 MB / 224.8 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006585/0.0006586, allocations: 12 kB / 282.7 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3677, allocations: 48.7 MB / 331.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.5165, allocations: 75.73 MB / 407.1 MB, free: 2.562 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.5168, allocations: 67.97 kB / 407.2 MB, free: 2.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0227/0.5395, allocations: 5.448 MB / 412.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5396, allocations: 0 / 412.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.046e-05/0.5397, allocations: 12 kB / 412.6 MB, free: 13.05 MB / 346.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.001387/0.5411, allocations: 0.75 MB / 413.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.5411, allocations: 8.031 kB / 413.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.5412, allocations: 30.56 kB / 413.4 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.5414, allocations: 43.53 kB / 413.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.5425, allocations: 451.1 kB / 413.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.5425, allocations: 4 kB / 413.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.5426, allocations: 8 kB / 413.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.5428, allocations: 67.33 kB / 414 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.5428, allocations: 0 / 414 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.5428, allocations: 0 / 414 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.5429, allocations: 4 kB / 414 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.36e-05/0.543, allocations: 19.98 kB / 414 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.5436, allocations: 378.3 kB / 414.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.5438, allocations: 65.14 kB / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.5438, allocations: 0 / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.544, allocations: 93 kB / 414.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.5441, allocations: 0 / 414.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005102/0.5446, allocations: 145.1 kB / 414.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.5447, allocations: 81.05 kB / 414.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.5467, allocations: 0.8885 MB / 415.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/0.5468, allocations: 29.7 kB / 415.7 MB, free: 9.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.547, allocations: 246.6 kB / 415.9 MB, free: 9.516 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.5471, allocations: 27.72 kB / 415.9 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.5471, allocations: 0 / 415.9 MB, free: 9.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5473, allocations: 322.8 kB / 416.2 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.5474, allocations: 39.97 kB / 416.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.5475, allocations: 49.64 kB / 416.3 MB, free: 9.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.5477, allocations: 99.39 kB / 416.4 MB, free: 8.961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5478, allocations: 0 / 416.4 MB, free: 8.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004776/0.5482, allocations: 204.8 kB / 416.6 MB, free: 8.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.566e-05/0.5483, allocations: 68.02 kB / 416.7 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5484, allocations: 0 / 416.7 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.5484, allocations: 4 kB / 416.7 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.5485, allocations: 8 kB / 416.7 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5485, allocations: 0 / 416.7 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.5487, allocations: 12 kB / 416.7 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.5488, allocations: 11.98 kB / 416.7 MB, free: 8.629 MB / 346.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0003582/0.5492, allocations: 222 kB / 416.9 MB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.5493, allocations: 47.44 kB / 417 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.5497, allocations: 161 kB / 417.2 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.5497, allocations: 0 / 417.2 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5498, allocations: 128 / 417.2 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.5498, allocations: 11.98 kB / 417.2 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.5503, allocations: 361.3 kB / 417.5 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.5503, allocations: 4 kB / 417.5 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.5504, allocations: 8 kB / 417.5 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.5504, allocations: 0 / 417.5 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.5504, allocations: 7.984 kB / 417.5 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5505, allocations: 0 / 417.5 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5505, allocations: 0 / 417.5 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.5509, allocations: 183 kB / 417.7 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.5512, allocations: 184.5 kB / 417.9 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.042e-05/0.5513, allocations: 8 kB / 417.9 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.5515, allocations: 4 kB / 417.9 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.5516, allocations: 7.984 kB / 417.9 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.5516, allocations: 4 kB / 417.9 MB, free: 7.324 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00142/0.553, allocations: 0.7057 MB / 418.6 MB, free: 6.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.553, allocations: 4 kB / 418.6 MB, free: 6.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005189/0.5536, allocations: 95.94 kB / 418.7 MB, free: 6.523 MB / 346.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002151/0.5557, allocations: 1.175 MB / 419.9 MB, free: 5.406 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004275/0.5562, allocations: 194.8 kB / 420.1 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5562, allocations: 0 / 420.1 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.5563, allocations: 31.92 kB / 420.1 MB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.5569, allocations: 50.22 kB / 420.2 MB, free: 5.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/0.5604, allocations: 1.572 MB / 421.7 MB, free: 3.461 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/0.5612, allocations: 0.8429 MB / 422.6 MB, free: 2.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000447/0.5617, allocations: 135.4 kB / 422.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5617, allocations: 0 / 422.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/3.361, allocations: 7.762 MB / 430.5 MB, free: 10.7 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat