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.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.01/2.01, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006099/0.00061, allocations: 23.92 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3916, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.5298, allocations: 75.86 MB / 407.2 MB, free: 2.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.5302, allocations: 67.97 kB / 407.3 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01834/0.5486, allocations: 4.152 MB / 411.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5486, allocations: 0 / 411.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.5487, allocations: 8 kB / 411.5 MB, free: 14.21 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.0006351/0.5493, allocations: 444.5 kB / 411.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.5494, allocations: 8.031 kB / 411.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.5494, allocations: 34.56 kB / 411.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.5495, allocations: 11.91 kB / 411.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.5498, allocations: 198.9 kB / 412.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.5498, allocations: 0 / 412.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.5499, allocations: 4 kB / 412.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.55, allocations: 45.67 kB / 412.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.55, allocations: 0 / 412.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.5501, allocations: 0 / 412.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.5501, allocations: 4 kB / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.516e-05/0.5502, allocations: 19.92 kB / 412.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.5506, allocations: 304.8 kB / 412.5 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.5509, allocations: 38.56 kB / 412.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.5509, allocations: 7.969 kB / 412.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.5511, allocations: 59.44 kB / 412.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.5511, allocations: 0 / 412.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005144/0.5516, allocations: 125.2 kB / 412.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.5517, allocations: 55.41 kB / 412.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.552, allocations: 185.3 kB / 413 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.5521, allocations: 29.7 kB / 413 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.5522, allocations: 158.6 kB / 413.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.5522, allocations: 19.75 kB / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.5522, allocations: 0 / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.5524, allocations: 322.8 kB / 413.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.773e-05/0.5524, allocations: 23.98 kB / 413.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.5525, allocations: 20 kB / 413.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.5526, allocations: 53.78 kB / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5527, allocations: 3.938 kB / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002785/0.553, allocations: 127.3 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.553, allocations: 37.69 kB / 413.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.553, allocations: 0 / 413.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5531, allocations: 0 / 413.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.5531, allocations: 8 kB / 413.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5532, allocations: 0 / 413.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.59e-05/0.5532, allocations: 4 kB / 413.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.5533, allocations: 11.94 kB / 413.8 MB, free: 11.64 MB / 346.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.0001295/0.5534, allocations: 121.8 kB / 413.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.5535, allocations: 19.81 kB / 413.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.5537, allocations: 97.97 kB / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5538, allocations: 0 / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5538, allocations: 0 / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5538, allocations: 0 / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.5543, allocations: 362.5 kB / 414.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5543, allocations: 3.984 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.5544, allocations: 4 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.5544, allocations: 4 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.5544, allocations: 4 kB / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5544, allocations: 0 / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5544, allocations: 0 / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.5547, allocations: 175.4 kB / 414.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.5548, allocations: 89.02 kB / 414.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.5548, allocations: 8 kB / 414.6 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.5549, allocations: 4 kB / 414.6 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.555, allocations: 7.922 kB / 414.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.555, allocations: 7.938 kB / 414.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000209/0.5552, allocations: 152.9 kB / 414.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5552, allocations: 0 / 414.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003774/0.5556, allocations: 39.94 kB / 414.8 MB, free: 10.46 MB / 346.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.001549/0.5572, allocations: 0.9812 MB / 415.8 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.5575, allocations: 119.3 kB / 415.9 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5575, allocations: 0 / 415.9 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.5576, allocations: 23.98 kB / 416 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.5579, allocations: 12 kB / 416 MB, free: 9.375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.559, allocations: 0.5057 MB / 416.5 MB, free: 8.812 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.5594, allocations: 0.7043 MB / 417.2 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.5595, allocations: 27.44 kB / 417.2 MB, free: 8.055 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5595, allocations: 0 / 417.2 MB, free: 8.055 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.911/3.471, allocations: 2.27 MB / 419.5 MB, free: 5.793 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat