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.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.069/2.069, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.000447, allocations: 19.98 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4161, allocations: 48.71 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003344/0.4195, allocations: 1.29 MB / 332.6 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.4209, allocations: 421.7 kB / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.421, allocations: 1.75 kB / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.4215, allocations: 77.41 kB / 333.1 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.4218, allocations: 48.97 kB / 333.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.4222, allocations: 62.95 kB / 333.2 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.4225, allocations: 65.22 kB / 333.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.4226, allocations: 14.56 kB / 333.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.4227, allocations: 35.91 kB / 333.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.4229, allocations: 44.97 kB / 333.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.423, allocations: 2.312 kB / 333.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.4232, allocations: 32.53 kB / 333.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.272e-05/0.4233, allocations: 21.75 kB / 333.4 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.4233, allocations: 34.02 kB / 333.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.4237, allocations: 88.17 kB / 333.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4237, allocations: 0 / 333.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4237, allocations: 0 / 333.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.4237, allocations: 0 / 333.5 MB, free: 5.371 MB / 266.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.0006803/0.4244, allocations: 426.5 kB / 333.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.4245, allocations: 9.281 kB / 333.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.4246, allocations: 32.34 kB / 334 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.4246, allocations: 9.656 kB / 334 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.4249, allocations: 200.1 kB / 334.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.425, allocations: 4.875 kB / 334.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.425, allocations: 3.266 kB / 334.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.4252, allocations: 44.25 kB / 334.2 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.4252, allocations: 0 / 334.2 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4253, allocations: 3.984 kB / 334.2 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4253, allocations: 1.188 kB / 334.2 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/0.4254, allocations: 18.25 kB / 334.2 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.4259, allocations: 290.5 kB / 334.5 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.4263, allocations: 44.66 kB / 334.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.4263, allocations: 2.062 kB / 334.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.4266, allocations: 60 kB / 334.6 MB, free: 4.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.986e-06/0.4266, allocations: 0 / 334.6 MB, free: 4.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006556/0.4272, allocations: 112.7 kB / 334.7 MB, free: 4.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.4273, allocations: 53.23 kB / 334.8 MB, free: 4.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.4277, allocations: 220 kB / 335 MB, free: 3.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.4278, allocations: 31.17 kB / 335 MB, free: 3.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/0.4279, allocations: 161.8 kB / 335.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.4279, allocations: 15.45 kB / 335.2 MB, free: 3.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.428, allocations: 1.25 kB / 335.2 MB, free: 3.773 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.4281, allocations: 317.4 kB / 335.5 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.4282, allocations: 19.61 kB / 335.5 MB, free: 3.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.4283, allocations: 20.5 kB / 335.6 MB, free: 3.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.4284, allocations: 50 kB / 335.6 MB, free: 3.398 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4284, allocations: 1.031 kB / 335.6 MB, free: 3.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003647/0.4288, allocations: 112.6 kB / 335.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.382e-05/0.4289, allocations: 34.22 kB / 335.8 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4289, allocations: 0 / 335.8 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4289, allocations: 0.5625 kB / 335.8 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.4291, allocations: 9.906 kB / 335.8 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.4291, allocations: 3.938 kB / 335.8 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.4292, allocations: 7.031 kB / 335.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.4293, allocations: 4.484 kB / 335.8 MB, free: 3.277 MB / 266.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.0001626/0.4295, allocations: 131.7 kB / 335.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.4295, allocations: 12.55 kB / 335.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.935e-05/0.4296, allocations: 20.98 kB / 335.9 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.4296, allocations: 3.938 kB / 335.9 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.4297, allocations: 1.812 kB / 335.9 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4297, allocations: 0 / 335.9 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006346/0.4303, allocations: 341 kB / 336.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4304, allocations: 0 / 336.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.4304, allocations: 10.23 kB / 336.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.4305, allocations: 0.7031 kB / 336.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.4305, allocations: 1.156 kB / 336.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.4305, allocations: 2.25 kB / 336.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4305, allocations: 0 / 336.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.4308, allocations: 176.6 kB / 336.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.4309, allocations: 84.69 kB / 336.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.431, allocations: 5.938 kB / 336.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.4311, allocations: 7.562 kB / 336.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.4312, allocations: 2.984 kB / 336.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.4313, allocations: 3.594 kB / 336.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002867/0.4316, allocations: 155.4 kB / 336.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4316, allocations: 0 / 336.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006952/0.4323, allocations: 32.72 kB / 336.7 MB, free: 2.434 MB / 266.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 (5): * Single equations (assignments): 4 * 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.002053/0.4344, allocations: 0.9749 MB / 337.7 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.4348, allocations: 102.2 kB / 337.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4348, allocations: 0 / 337.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.4349, allocations: 20.75 kB / 337.8 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.4354, allocations: 21.92 kB / 337.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.4367, allocations: 495.4 kB / 338.3 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.437, allocations: 0.7089 MB / 339.1 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.4371, allocations: 28.56 kB / 339.1 MB, free: 388 kB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4371, allocations: 0 / 339.1 MB, free: 388 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.544/2.981, allocations: 2.249 MB / 341.3 MB, free: 15.43 MB / 282.7 MB