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.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.945/1.945, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006257/0.0006258, allocations: 12 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1528, allocations: 48.7 MB / 331.4 MB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4438/0.5966, allocations: 75.73 MB / 407.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.597, allocations: 71.91 kB / 407.2 MB, free: 9.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02283/0.6198, allocations: 5.506 MB / 412.7 MB, free: 3.688 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6199, allocations: 0 / 412.7 MB, free: 3.688 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.604e-05/0.6199, allocations: 4 kB / 412.7 MB, free: 3.684 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.001201/0.6211, allocations: 0.75 MB / 413.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.6212, allocations: 12.03 kB / 413.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.6212, allocations: 34.5 kB / 413.5 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.6214, allocations: 43.44 kB / 413.5 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009899/0.6224, allocations: 459.1 kB / 414 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.6224, allocations: 8 kB / 414 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.6225, allocations: 4 kB / 414 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.6226, allocations: 63.38 kB / 414 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.6227, allocations: 4 kB / 414 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.6227, allocations: 0 / 414 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.6227, allocations: 3.984 kB / 414 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.6228, allocations: 27.92 kB / 414.1 MB, free: 2.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.6234, allocations: 374.3 kB / 414.4 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.6236, allocations: 65.12 kB / 414.5 MB, free: 1.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.6236, allocations: 7.984 kB / 414.5 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.6239, allocations: 89.16 kB / 414.6 MB, free: 1.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 4.077e-06/0.6239, allocations: 0 / 414.6 MB, free: 1.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005107/0.6244, allocations: 149 kB / 414.7 MB, free: 1.395 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.6245, allocations: 81.11 kB / 414.8 MB, free: 1.297 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.6265, allocations: 0.9197 MB / 415.7 MB, free: 380 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.6266, allocations: 25.7 kB / 415.8 MB, free: 348 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.6269, allocations: 250.6 kB / 416 MB, free: 96 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.6269, allocations: 23.73 kB / 416 MB, free: 72 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.627, allocations: 7.938 kB / 416 MB, free: 64 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6271, allocations: 318.8 kB / 416.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.6273, allocations: 35.92 kB / 416.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.6274, allocations: 53.69 kB / 416.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.6276, allocations: 103.4 kB / 416.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6276, allocations: 0 / 416.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000458/0.6281, allocations: 200.9 kB / 416.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.313e-05/0.6282, allocations: 59.41 kB / 416.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.6282, allocations: 0 / 416.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.6282, allocations: 0 / 416.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.6284, allocations: 15.98 kB / 416.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.6284, allocations: 0 / 416.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.6286, allocations: 16.12 kB / 416.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.6287, allocations: 4 kB / 416.8 MB, free: 15.21 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.0003765/0.6291, allocations: 229.7 kB / 417.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.6292, allocations: 47.44 kB / 417.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.6296, allocations: 157.2 kB / 417.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.6297, allocations: 4 kB / 417.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6297, allocations: 0 / 417.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6297, allocations: 0 / 417.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.6302, allocations: 369.3 kB / 417.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6302, allocations: 4 kB / 417.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.588e-05/0.6303, allocations: 11.94 kB / 417.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.6303, allocations: 4 kB / 417.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.6303, allocations: 0 / 417.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6303, allocations: 0 / 417.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.6304, allocations: 0 / 417.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.6307, allocations: 187.5 kB / 417.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.6311, allocations: 188.5 kB / 418 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.309e-05/0.6312, allocations: 4 kB / 418 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.6314, allocations: 11.92 kB / 418 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.6314, allocations: 8 kB / 418 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.6315, allocations: 3.984 kB / 418 MB, free: 13.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001426/0.6329, allocations: 0.733 MB / 418.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6329, allocations: 0 / 418.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005439/0.6335, allocations: 99.92 kB / 418.9 MB, free: 13.07 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.002015/0.6355, allocations: 1.157 MB / 420 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004353/0.636, allocations: 206.7 kB / 420.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.636, allocations: 0 / 420.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.802e-05/0.6361, allocations: 27.92 kB / 420.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.6367, allocations: 42.3 kB / 420.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.6399, allocations: 1.628 MB / 421.9 MB, free: 9.957 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.6405, allocations: 0.839 MB / 422.8 MB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/0.6409, allocations: 147.3 kB / 422.9 MB, free: 8.949 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6409, allocations: 0 / 422.9 MB, free: 8.949 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.726/3.367, allocations: 7.965 MB / 430.9 MB, free: 0.9844 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat