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.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.242/2.242, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006385/0.0006386, allocations: 12 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3367, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002802/0.3395, allocations: 1.504 MB / 370.8 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3413, allocations: 0.7501 MB / 371.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.3414, allocations: 4 kB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.3417, allocations: 23.84 kB / 371.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.342, allocations: 43.83 kB / 371.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.3422, allocations: 59.86 kB / 371.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.3424, allocations: 87.83 kB / 371.8 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3426, allocations: 29.38 kB / 371.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.3427, allocations: 43.78 kB / 371.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.3428, allocations: 39.83 kB / 371.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.3429, allocations: 7.938 kB / 371.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.343, allocations: 31.92 kB / 371.9 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.343, allocations: 19.92 kB / 371.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.3431, allocations: 41.64 kB / 372 MB, free: 8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.3434, allocations: 100.8 kB / 372.1 MB, free: 7.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.3434, allocations: 0 / 372.1 MB, free: 7.902 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3434, allocations: 0 / 372.1 MB, free: 7.902 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3434, allocations: 0 / 372.1 MB, free: 7.902 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.0007123/0.3441, allocations: 0.5037 MB / 372.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3442, allocations: 8.031 kB / 372.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.53e-05/0.3443, allocations: 38.55 kB / 372.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.3443, allocations: 15.81 kB / 372.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.3446, allocations: 207.5 kB / 372.8 MB, free: 7.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3447, allocations: 8 kB / 372.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.3447, allocations: 8 kB / 372.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.345, allocations: 81.66 kB / 372.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.345, allocations: 0 / 372.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.3451, allocations: 7.953 kB / 372.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3451, allocations: 0 / 372.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.3453, allocations: 47.97 kB / 373 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.346, allocations: 360.6 kB / 373.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.3465, allocations: 94.59 kB / 373.4 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3465, allocations: 4 kB / 373.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/0.3468, allocations: 87.31 kB / 373.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.3469, allocations: 0 / 373.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006/0.3475, allocations: 145.5 kB / 373.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3475, allocations: 55.41 kB / 373.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.3478, allocations: 175.2 kB / 373.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.3478, allocations: 33.64 kB / 373.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.912e-05/0.3479, allocations: 170.8 kB / 374.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.348, allocations: 23.7 kB / 374.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.348, allocations: 0 / 374.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3481, allocations: 318.8 kB / 374.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.3483, allocations: 47.91 kB / 374.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.3485, allocations: 58.55 kB / 374.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.3488, allocations: 85.88 kB / 374.6 MB, free: 5.109 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3488, allocations: 0 / 374.6 MB, free: 5.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005069/0.3493, allocations: 187.2 kB / 374.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.3494, allocations: 35.73 kB / 374.8 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3494, allocations: 0 / 374.8 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3494, allocations: 0 / 374.8 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.3496, allocations: 23.98 kB / 374.8 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3496, allocations: 0 / 374.8 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.3498, allocations: 23.83 kB / 374.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3498, allocations: 8.062 kB / 374.9 MB, free: 4.82 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.0001478/0.35, allocations: 125.8 kB / 375 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.35, allocations: 15.86 kB / 375 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.864e-05/0.3501, allocations: 17.39 kB / 375 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3501, allocations: 0 / 375 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3501, allocations: 0 / 375 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.3501, allocations: 3.984 kB / 375 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.3504, allocations: 213.4 kB / 375.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3504, allocations: 0 / 375.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.3505, allocations: 16 kB / 375.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3506, allocations: 3.953 kB / 375.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.3506, allocations: 4 kB / 375.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3506, allocations: 0 / 375.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3506, allocations: 0 / 375.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006017/0.3512, allocations: 188.9 kB / 375.4 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.3513, allocations: 96.94 kB / 375.5 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.3514, allocations: 3.953 kB / 375.5 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3515, allocations: 15.98 kB / 375.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.3515, allocations: 7.938 kB / 375.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.3516, allocations: 0 / 375.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.3517, allocations: 133 kB / 375.7 MB, free: 3.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3517, allocations: 0 / 375.7 MB, free: 3.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003068/0.3521, allocations: 40 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.001886/0.354, allocations: 0.9938 MB / 376.7 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004864/0.3545, allocations: 171.3 kB / 376.9 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3545, allocations: 0 / 376.9 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.3547, allocations: 47.91 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.0003246/0.355, 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.0009926/0.356, allocations: 0.5396 MB / 377.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3564, allocations: 0.716 MB / 378.2 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.763e-05/0.3565, allocations: 35.8 kB / 378.3 MB, free: 1.285 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3565, allocations: 0 / 378.3 MB, free: 1.285 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.59/2.947, allocations: 2.535 MB / 380.8 MB, free: 14.75 MB / 314.7 MB