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.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.257/2.257, allocations: 234.9 MB / 250.4 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004336, allocations: 12 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.357, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002514/0.3596, allocations: 1.353 MB / 370.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3613, allocations: 0.7086 MB / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.3614, allocations: 4 kB / 371.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.3617, allocations: 75.77 kB / 371.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.3619, allocations: 59.84 kB / 371.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.3622, allocations: 51.83 kB / 371.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3624, allocations: 83.83 kB / 371.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.3625, allocations: 8 kB / 371.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3626, allocations: 43.83 kB / 371.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3627, allocations: 55.81 kB / 371.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.3628, allocations: 0 / 371.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3629, allocations: 31.92 kB / 371.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.3629, allocations: 19.92 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.363, allocations: 41.64 kB / 371.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3632, allocations: 96.84 kB / 371.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.3632, allocations: 0 / 371.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3633, allocations: 0 / 371.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3633, allocations: 0 / 371.9 MB, free: 10.11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000615/0.3639, allocations: 462.1 kB / 372.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.364, allocations: 16.02 kB / 372.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.364, allocations: 30.56 kB / 372.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.3641, allocations: 11.81 kB / 372.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.3643, allocations: 202.8 kB / 372.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.3644, allocations: 19.92 kB / 372.6 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.3644, allocations: 7.984 kB / 372.6 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.3646, allocations: 53.67 kB / 372.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3647, allocations: 0 / 372.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.3647, allocations: 3.953 kB / 372.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3647, allocations: 0 / 372.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.3648, allocations: 19.98 kB / 372.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.3653, allocations: 300.9 kB / 373 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.3655, allocations: 58.61 kB / 373.1 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3656, allocations: 4 kB / 373.1 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.3658, allocations: 71.34 kB / 373.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.3658, allocations: 0 / 373.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007451/0.3666, allocations: 189 kB / 373.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.3666, allocations: 55.41 kB / 373.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.3669, allocations: 218.3 kB / 373.6 MB, free: 8.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.367, allocations: 25.7 kB / 373.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3671, allocations: 170.4 kB / 373.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.3671, allocations: 27.64 kB / 373.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.3672, allocations: 0 / 373.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3673, allocations: 322.8 kB / 374.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3674, allocations: 31.98 kB / 374.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.3676, allocations: 45.64 kB / 374.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.3678, allocations: 65.69 kB / 374.3 MB, free: 7.504 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3678, allocations: 0 / 374.3 MB, free: 7.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003861/0.3682, allocations: 163.2 kB / 374.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.3682, allocations: 33.7 kB / 374.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3682, allocations: 4 kB / 374.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3683, allocations: 4.031 kB / 374.5 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.3684, allocations: 15.98 kB / 374.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3684, allocations: 0 / 374.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.885e-05/0.3685, allocations: 4 kB / 374.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.3686, allocations: 11.94 kB / 374.5 MB, free: 7.254 MB / 298.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: 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 (11): * Single equations (assignments): 10 * 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.0001367/0.3687, allocations: 129.8 kB / 374.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3688, allocations: 15.77 kB / 374.6 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.3688, allocations: 21.39 kB / 374.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3688, allocations: 4.031 kB / 374.7 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.3689, allocations: 7.938 kB / 374.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3689, allocations: 0 / 374.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.3695, allocations: 403.4 kB / 375.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3695, allocations: 3.938 kB / 375.1 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.3696, allocations: 8 kB / 375.1 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3696, allocations: 0 / 375.1 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3696, allocations: 3.984 kB / 375.1 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3697, allocations: 4 kB / 375.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3697, allocations: 4.031 kB / 375.1 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.37, allocations: 196.3 kB / 375.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.3701, allocations: 104.9 kB / 375.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.3702, allocations: 0 / 375.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3703, allocations: 4.375 kB / 375.4 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.3703, allocations: 11.92 kB / 375.4 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.3704, allocations: 12 kB / 375.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002021/0.3706, allocations: 167.2 kB / 375.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3706, allocations: 0 / 375.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.3709, allocations: 28 kB / 375.6 MB, free: 6.047 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001844/0.3728, allocations: 1.082 MB / 376.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.3732, allocations: 163.2 kB / 376.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3732, allocations: 0 / 376.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.3733, allocations: 31.92 kB / 376.9 MB, free: 4.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.3737, allocations: 19.98 kB / 376.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009756/0.3747, allocations: 0.5242 MB / 377.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.375, allocations: 0.7179 MB / 378.1 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.798e-05/0.3751, allocations: 31.42 kB / 378.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.3752, allocations: 7.938 kB / 378.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.627/3.003, allocations: 2.52 MB / 380.7 MB, free: 0.9219 MB / 298.7 MB