Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.238/2.238, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004319, allocations: 16 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3651, allocations: 54.86 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002306/0.3674, allocations: 1.219 MB / 370.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006839/0.3682, allocations: 261.1 kB / 370.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.3682, allocations: 0 / 370.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.3684, allocations: 15.86 kB / 370.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.3686, allocations: 19.98 kB / 370.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.3687, allocations: 27.91 kB / 370.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.3689, allocations: 39.89 kB / 370.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.369, allocations: 11.98 kB / 370.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.3691, allocations: 19.92 kB / 370.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.3692, allocations: 15.92 kB / 370.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3692, allocations: 0 / 370.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.439e-05/0.3693, allocations: 19.94 kB / 370.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.3693, allocations: 7.984 kB / 370.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.3694, allocations: 33.64 kB / 371 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.3695, allocations: 39.94 kB / 371 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3695, allocations: 0 / 371 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3695, allocations: 0 / 371 MB, free: 11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.3695, allocations: 0 / 371 MB, free: 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005034/0.37, allocations: 389.8 kB / 371.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3701, allocations: 16.02 kB / 371.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.3702, allocations: 34.56 kB / 371.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.3702, allocations: 15.86 kB / 371.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.3704, allocations: 171 kB / 371.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3704, allocations: 7.875 kB / 371.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.3705, allocations: 8 kB / 371.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3706, allocations: 49.69 kB / 371.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3707, allocations: 0 / 371.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.3707, allocations: 0 / 371.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3707, allocations: 0 / 371.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.3709, allocations: 35.92 kB / 371.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.3713, allocations: 268.8 kB / 372 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.3715, allocations: 50.5 kB / 372 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.3716, allocations: 0 / 372 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3716, allocations: 30.56 kB / 372 MB, free: 9.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.3716, allocations: 0 / 372 MB, free: 9.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008439/0.3725, allocations: 161.4 kB / 372.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.3725, allocations: 55.39 kB / 372.3 MB, free: 9.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3727, allocations: 126.1 kB / 372.4 MB, free: 9.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.3727, allocations: 33.64 kB / 372.4 MB, free: 9.371 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.3728, allocations: 166.5 kB / 372.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.3729, allocations: 15.66 kB / 372.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.3729, allocations: 0 / 372.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.373, allocations: 314.8 kB / 372.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.3731, allocations: 23.98 kB / 372.9 MB, free: 8.852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3733, allocations: 27.98 kB / 372.9 MB, free: 8.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.3734, allocations: 49.69 kB / 373 MB, free: 8.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3734, allocations: 0 / 373 MB, free: 8.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003493/0.3738, allocations: 123.3 kB / 373.1 MB, free: 8.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.3739, allocations: 37.7 kB / 373.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3739, allocations: 3.953 kB / 373.2 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3739, allocations: 0 / 373.2 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.374, allocations: 15.98 kB / 373.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.374, allocations: 0 / 373.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.3741, allocations: 8 kB / 373.2 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3741, allocations: 0 / 373.2 MB, free: 8.566 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 9.916e-05/0.3743, allocations: 113.8 kB / 373.3 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.3743, allocations: 15.89 kB / 373.3 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.3747, allocations: 106.1 kB / 373.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.3747, allocations: 3.953 kB / 373.4 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3747, allocations: 0 / 373.4 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.3747, allocations: 7.984 kB / 373.4 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.3753, allocations: 342.6 kB / 373.8 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3753, allocations: 7.938 kB / 373.8 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.851e-05/0.3755, allocations: 8 kB / 373.8 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.3755, allocations: 7.953 kB / 373.8 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3755, allocations: 0 / 373.8 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.3755, allocations: 7.984 kB / 373.8 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3755, allocations: 0 / 373.8 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.3759, allocations: 179.4 kB / 374 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.376, allocations: 77.11 kB / 374 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.376, allocations: 11.95 kB / 374.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3761, allocations: 7.984 kB / 374.1 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.3762, allocations: 4 kB / 374.1 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.3762, allocations: 4 kB / 374.1 MB, free: 7.574 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.3763, allocations: 107.8 kB / 374.2 MB, free: 7.469 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.094e-06/0.3763, allocations: 0 / 374.2 MB, free: 7.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.3766, allocations: 15.94 kB / 374.2 MB, free: 7.453 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001351/0.378, allocations: 0.9021 MB / 375.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004045/0.3784, allocations: 119.3 kB / 375.2 MB, free: 6.473 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3784, allocations: 0 / 375.2 MB, free: 6.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.3786, allocations: 27.97 kB / 375.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3789, allocations: 23.73 kB / 375.3 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.3797, allocations: 408.4 kB / 375.7 MB, free: 5.969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.38, allocations: 0.6926 MB / 376.3 MB, free: 5.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.3801, allocations: 23.44 kB / 376.4 MB, free: 5.227 MB / 298.7 MB Notification: Performance of SimCode: time 2.926e-06/0.3801, allocations: 0 / 376.4 MB, free: 5.227 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.363/2.743, allocations: 1.49 MB / 377.9 MB, free: 3.734 MB / 298.7 MB