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.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.001/2.001, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004503, allocations: 16 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1032, allocations: 48.71 MB / 331.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4003/0.5035, allocations: 77.56 MB / 408.9 MB, free: 7.512 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.5038, allocations: 71.97 kB / 409 MB, free: 7.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0191/0.5229, allocations: 4.031 MB / 413 MB, free: 3.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.523, allocations: 0 / 413 MB, free: 3.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.523, allocations: 8 kB / 413 MB, free: 3.422 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001191/0.5242, allocations: 0.5583 MB / 413.6 MB, free: 2.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5243, allocations: 15.97 kB / 413.6 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.5244, allocations: 42.55 kB / 413.7 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.5244, allocations: 15.81 kB / 413.7 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.5248, allocations: 215.7 kB / 413.9 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.5249, allocations: 8 kB / 413.9 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.5249, allocations: 15.92 kB / 413.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.5255, allocations: 121.6 kB / 414 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5255, allocations: 0 / 414 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.5255, allocations: 4 kB / 414 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5256, allocations: 3.938 kB / 414 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007922/0.5264, allocations: 131.9 kB / 414.2 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.5274, allocations: 430.3 kB / 414.6 MB, free: 1.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009878/0.5284, allocations: 170.5 kB / 414.8 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.5285, allocations: 4 kB / 414.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005645/0.5291, allocations: 135.2 kB / 414.9 MB, free: 1.383 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.885e-06/0.5291, allocations: 0 / 414.9 MB, free: 1.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.001427/0.5305, allocations: 269.3 kB / 415.2 MB, free: 1.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.5306, allocations: 59.3 kB / 415.2 MB, free: 1.043 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.5309, allocations: 187.1 kB / 415.4 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.531, allocations: 33.7 kB / 415.4 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.916e-05/0.5311, allocations: 170.5 kB / 415.6 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.5311, allocations: 31.61 kB / 415.6 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.5312, allocations: 0 / 415.6 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5313, allocations: 322.8 kB / 415.9 MB, free: 300 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.5318, allocations: 80.06 kB / 416 MB, free: 220 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.5322, allocations: 98.28 kB / 416.1 MB, free: 116 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.5327, allocations: 143.3 kB / 416.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5328, allocations: 0 / 416.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001118/0.5339, allocations: 292.8 kB / 416.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.383e-05/0.534, allocations: 63.42 kB / 416.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.534, allocations: 4 kB / 416.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.534, allocations: 0 / 416.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.5343, allocations: 35.97 kB / 416.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.5344, allocations: 0 / 416.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.5347, allocations: 39.83 kB / 416.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.5348, allocations: 4 kB / 416.7 MB, free: 15.5 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: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$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 (14): * Single equations (assignments): 12 * 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.0001793/0.535, allocations: 137.7 kB / 416.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.535, allocations: 11.91 kB / 416.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.536, allocations: 211 kB / 417 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.536, allocations: 0 / 417 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5361, allocations: 0 / 417 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5361, allocations: 7.984 kB / 417 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.5364, allocations: 233.6 kB / 417.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5364, allocations: 3.984 kB / 417.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.5367, allocations: 27.92 kB / 417.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.5367, allocations: 0 / 417.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.5367, allocations: 11.98 kB / 417.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.5368, allocations: 4 kB / 417.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.5368, allocations: 3.984 kB / 417.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.5382, allocations: 316.7 kB / 417.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/0.5383, allocations: 93.05 kB / 417.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.5384, allocations: 384 / 417.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.5387, allocations: 32.03 kB / 417.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.5388, allocations: 15.97 kB / 417.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.5388, allocations: 8 kB / 417.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.5391, allocations: 152.2 kB / 417.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5391, allocations: 0 / 417.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000397/0.5395, allocations: 55.84 kB / 418 MB, free: 14.1 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.002611/0.5421, allocations: 1.095 MB / 419.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.5432, allocations: 294.6 kB / 419.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5433, allocations: 0 / 419.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.5437, allocations: 83.88 kB / 419.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.5442, allocations: 36.16 kB / 419.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.5456, allocations: 0.7412 MB / 420.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.546, allocations: 0.7236 MB / 420.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.5461, allocations: 47.41 kB / 421 MB, free: 11.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5462, allocations: 0 / 421 MB, free: 11.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.887/3.433, allocations: 3.097 MB / 424.1 MB, free: 7.93 MB / 346.7 MB