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.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.962/1.962, allocations: 209.2 MB / 224.8 MB, free: 1.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006025/0.0006026, allocations: 12 kB / 282.7 MB, free: 9.664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1165, allocations: 48.71 MB / 331.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4607/0.5772, allocations: 75.73 MB / 407.1 MB, free: 9.266 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/0.5776, allocations: 71.97 kB / 407.2 MB, free: 9.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07057/0.6482, allocations: 5.487 MB / 412.7 MB, free: 3.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6483, allocations: 0 / 412.7 MB, free: 3.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.876e-05/0.6484, allocations: 8 kB / 412.7 MB, free: 3.723 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.001662/0.65, allocations: 0.7694 MB / 413.4 MB, free: 2.891 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.6501, allocations: 8.031 kB / 413.4 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.6502, allocations: 34.56 kB / 413.5 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.6504, allocations: 47.39 kB / 413.5 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.6518, allocations: 455.2 kB / 414 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.6518, allocations: 0 / 414 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.6518, allocations: 8 kB / 414 MB, free: 2.297 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.6521, allocations: 63.33 kB / 414 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.6521, allocations: 8 kB / 414 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.6521, allocations: 0 / 414 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.6522, allocations: 0 / 414 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.6523, allocations: 19.98 kB / 414.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00424/0.6566, allocations: 382.3 kB / 414.4 MB, free: 1.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.6568, allocations: 65.14 kB / 414.5 MB, free: 1.688 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.6569, allocations: 0 / 414.5 MB, free: 1.688 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.6571, allocations: 97.09 kB / 414.6 MB, free: 1.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.6571, allocations: 0 / 414.6 MB, free: 1.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005573/0.6577, allocations: 149 kB / 414.7 MB, free: 1.422 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.6578, allocations: 81.05 kB / 414.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.6601, allocations: 0.9197 MB / 415.7 MB, free: 408 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.6602, allocations: 29.7 kB / 415.8 MB, free: 372 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.6604, allocations: 250.6 kB / 416 MB, free: 120 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.6605, allocations: 19.75 kB / 416 MB, free: 100 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.6605, allocations: 0 / 416 MB, free: 100 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.6607, allocations: 322.8 kB / 416.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.6609, allocations: 31.98 kB / 416.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.661, allocations: 61.69 kB / 416.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.6613, allocations: 99.38 kB / 416.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.6613, allocations: 0 / 416.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004744/0.6618, allocations: 200.8 kB / 416.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/0.6619, allocations: 63.39 kB / 416.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.6619, allocations: 4 kB / 416.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.6619, allocations: 0 / 416.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.662, allocations: 8 kB / 416.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.6621, allocations: 3.984 kB / 416.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.6623, allocations: 16 kB / 416.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.6623, allocations: 8 kB / 416.8 MB, free: 15.24 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.0003977/0.6628, allocations: 229.6 kB / 417.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.6629, allocations: 43.44 kB / 417.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/0.6634, allocations: 165.6 kB / 417.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.6634, allocations: 0 / 417.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/0.6634, allocations: 4 kB / 417.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6634, allocations: 0 / 417.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.6639, allocations: 369.3 kB / 417.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.6639, allocations: 4 kB / 417.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.664, allocations: 8 kB / 417.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.664, allocations: 0 / 417.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.6641, allocations: 7.984 kB / 417.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6641, allocations: 0 / 417.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6641, allocations: 0 / 417.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.6645, allocations: 187 kB / 417.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.6648, allocations: 184.5 kB / 418 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.005e-05/0.6649, allocations: 4 kB / 418 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.6651, allocations: 4.094 kB / 418 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.6652, allocations: 11.92 kB / 418 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.6652, allocations: 8 kB / 418 MB, free: 13.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001507/0.6667, allocations: 0.7252 MB / 418.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.6668, allocations: 4 kB / 418.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005752/0.6674, allocations: 91.94 kB / 418.9 MB, free: 13.1 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.002109/0.6695, allocations: 1.172 MB / 420 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.67, allocations: 198.8 kB / 420.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.67, allocations: 0 / 420.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.6701, allocations: 31.92 kB / 420.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.6707, allocations: 49.47 kB / 420.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.6737, allocations: 1.612 MB / 421.9 MB, free: 9.992 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/0.6744, allocations: 0.8507 MB / 422.8 MB, free: 9.117 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/0.6748, allocations: 143.3 kB / 422.9 MB, free: 8.977 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6748, allocations: 0 / 422.9 MB, free: 8.977 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.705/3.38, allocations: 7.964 MB / 430.9 MB, free: 1.012 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat