Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.31/2.31, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006148/0.000615, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3324, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002679/0.3351, allocations: 1.516 MB / 370.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3369, allocations: 0.7462 MB / 371.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.776e-05/0.337, allocations: 0 / 371.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.3373, allocations: 27.84 kB / 371.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.3375, allocations: 35.88 kB / 371.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.3378, allocations: 71.75 kB / 371.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.338, allocations: 91.83 kB / 371.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3382, allocations: 17.44 kB / 371.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.3383, allocations: 43.84 kB / 371.8 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3384, allocations: 39.77 kB / 371.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.3384, allocations: 4 kB / 371.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3386, allocations: 31.98 kB / 371.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.3386, allocations: 15.92 kB / 371.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.3387, allocations: 45.64 kB / 372 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.3389, allocations: 112.7 kB / 372.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.3389, allocations: 3.938 kB / 372.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3389, allocations: 0 / 372.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.339, allocations: 0 / 372.1 MB, free: 7.883 MB / 298.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.0007313/0.3397, allocations: 0.4921 MB / 372.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3398, allocations: 12.03 kB / 372.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/0.3398, allocations: 34.56 kB / 372.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.3399, allocations: 19.8 kB / 372.6 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.3402, allocations: 211.5 kB / 372.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.3403, allocations: 4 kB / 372.8 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.3403, allocations: 11.94 kB / 372.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.3406, allocations: 77.66 kB / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3407, allocations: 0 / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.3407, allocations: 11.95 kB / 372.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3407, allocations: 4 kB / 372.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.341, allocations: 43.97 kB / 373 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.3416, allocations: 356.6 kB / 373.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.3421, allocations: 90.62 kB / 373.4 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.3421, allocations: 7.984 kB / 373.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.3425, allocations: 91.31 kB / 373.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.3425, allocations: 3.938 kB / 373.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000587/0.3431, allocations: 145.5 kB / 373.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3431, allocations: 51.41 kB / 373.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.3433, allocations: 175.2 kB / 373.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.3434, allocations: 29.7 kB / 373.9 MB, free: 5.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.3435, allocations: 170.4 kB / 374.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.3435, allocations: 31.69 kB / 374.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.3436, allocations: 0 / 374.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3437, allocations: 318.8 kB / 374.4 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.3439, allocations: 36.34 kB / 374.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.3441, allocations: 66.55 kB / 374.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.3443, allocations: 77.95 kB / 374.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3443, allocations: 0 / 374.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004899/0.3448, allocations: 187 kB / 374.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.3449, allocations: 35.8 kB / 374.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3449, allocations: 4 kB / 374.8 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3449, allocations: 0 / 374.8 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.3451, allocations: 23.98 kB / 374.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3451, allocations: 4 kB / 374.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3452, allocations: 19.83 kB / 374.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.3453, allocations: 4 kB / 374.9 MB, free: 4.812 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001352/0.3454, allocations: 125.8 kB / 375 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.3455, allocations: 15.86 kB / 375 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.3455, allocations: 21.38 kB / 375 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.3455, allocations: 4 kB / 375 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3456, allocations: 0 / 375 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3456, allocations: 0 / 375 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.3458, allocations: 205.5 kB / 375.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3458, allocations: 4 kB / 375.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.346, allocations: 11.98 kB / 375.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.346, allocations: 3.953 kB / 375.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.346, allocations: 4 kB / 375.3 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.346, allocations: 4 kB / 375.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.346, allocations: 0 / 375.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.3466, allocations: 184.9 kB / 375.4 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.854e-05/0.3467, allocations: 96.94 kB / 375.5 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.3468, allocations: 11.89 kB / 375.6 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3469, allocations: 12.06 kB / 375.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.347, allocations: 3.984 kB / 375.6 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.347, allocations: 4 kB / 375.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001409/0.3471, allocations: 132.9 kB / 375.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3472, allocations: 0 / 375.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000302/0.3475, allocations: 32 kB / 375.7 MB, free: 3.859 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001899/0.3494, allocations: 1.008 MB / 376.7 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.3499, allocations: 163.3 kB / 376.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3499, allocations: 0 / 376.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.3501, allocations: 44.05 kB / 376.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.3504, allocations: 31.83 kB / 377 MB, free: 2.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009988/0.3514, allocations: 0.5434 MB / 377.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3517, allocations: 0.716 MB / 378.2 MB, free: 1.316 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/0.3518, allocations: 35.42 kB / 378.3 MB, free: 1.281 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3519, allocations: 0 / 378.3 MB, free: 1.281 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.625/2.977, allocations: 2.536 MB / 380.8 MB, free: 14.75 MB / 314.7 MB