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.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.881/1.881, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004397, allocations: 16 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3469, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.496, allocations: 75.91 MB / 407.3 MB, free: 2.398 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/0.4964, allocations: 67.97 kB / 407.3 MB, free: 2.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02547/0.5219, allocations: 4.628 MB / 412 MB, free: 13.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5219, allocations: 3.938 kB / 412 MB, free: 13.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.522, allocations: 4 kB / 412 MB, free: 13.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007839/0.5228, allocations: 463.5 kB / 412.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.5229, allocations: 8.031 kB / 412.4 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.5229, allocations: 42.5 kB / 412.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.523, allocations: 7.906 kB / 412.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.5234, allocations: 214.8 kB / 412.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.5235, allocations: 4 kB / 412.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.5235, allocations: 7.906 kB / 412.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.5237, allocations: 57.66 kB / 412.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5238, allocations: 4 kB / 412.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.5238, allocations: 4 kB / 412.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5238, allocations: 0 / 412.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.524, allocations: 31.92 kB / 412.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007229/0.5247, allocations: 332.8 kB / 413.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.525, allocations: 54.55 kB / 413.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.525, allocations: 80 / 413.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.5253, allocations: 71.44 kB / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.585e-06/0.5253, allocations: 4 kB / 413.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009236/0.5262, allocations: 181 kB / 413.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.5263, allocations: 51.41 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004924/0.5268, allocations: 217.8 kB / 413.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.5269, allocations: 25.7 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.527, allocations: 170.8 kB / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/0.5271, allocations: 31.55 kB / 413.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.5271, allocations: 0 / 413.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5273, allocations: 314.8 kB / 414.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.5275, allocations: 35.98 kB / 414.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.5276, allocations: 36.47 kB / 414.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.5279, allocations: 73.67 kB / 414.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5279, allocations: 0 / 414.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005189/0.5284, allocations: 151.3 kB / 414.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.765e-05/0.5285, allocations: 37.7 kB / 414.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5285, allocations: 0 / 414.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5286, allocations: 0 / 414.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.5288, allocations: 15.98 kB / 414.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.5288, allocations: 7.953 kB / 414.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.5289, allocations: 4 kB / 414.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.529, allocations: 4 kB / 414.6 MB, free: 10.84 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 (10): * Single equations (assignments): 9 * 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.0002124/0.5292, allocations: 137.8 kB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.5293, allocations: 11.81 kB / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.5298, allocations: 143 kB / 414.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5298, allocations: 0 / 414.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5299, allocations: 0 / 414.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5299, allocations: 7.953 kB / 414.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000944/0.5308, allocations: 426.4 kB / 415.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5309, allocations: 0 / 415.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.531, allocations: 15.98 kB / 415.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.531, allocations: 0 / 415.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.5311, allocations: 11.95 kB / 415.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.5311, allocations: 0.5625 kB / 415.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5311, allocations: 3.938 kB / 415.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.5316, allocations: 215.6 kB / 415.5 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.5317, allocations: 96.91 kB / 415.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.5318, allocations: 4 kB / 415.6 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.532, allocations: 11.95 kB / 415.6 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.5321, allocations: 7.984 kB / 415.6 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.5321, allocations: 4 kB / 415.7 MB, free: 9.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003423/0.5325, allocations: 171.2 kB / 415.8 MB, free: 9.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5325, allocations: 4 kB / 415.8 MB, free: 9.488 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006729/0.5332, allocations: 51.92 kB / 415.9 MB, free: 9.438 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 (10): * Single equations (assignments): 9 * 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.002128/0.5353, allocations: 1.001 MB / 416.9 MB, free: 8.484 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004311/0.5358, allocations: 143.3 kB / 417 MB, free: 8.332 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5358, allocations: 0 / 417 MB, free: 8.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.5359, allocations: 31.98 kB / 417 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.5364, allocations: 16.14 kB / 417.1 MB, free: 8.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.5379, allocations: 0.5787 MB / 417.6 MB, free: 7.652 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.5384, allocations: 0.716 MB / 418.4 MB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.5386, allocations: 39.42 kB / 418.4 MB, free: 6.871 MB / 346.7 MB Notification: Performance of SimCode: time 9.11e-07/0.5386, allocations: 0 / 418.4 MB, free: 6.871 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.76/3.299, allocations: 2.721 MB / 421.1 MB, free: 4.16 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat