Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test22.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.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.124/2.124, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006308/0.0006309, allocations: 8 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3462, allocations: 48.71 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.002673/0.349, allocations: 1.5 MB / 332.8 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.3513, allocations: 1.008 MB / 333.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.3515, allocations: 7.5 kB / 333.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.3517, allocations: 25.12 kB / 333.8 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.3521, allocations: 108.5 kB / 333.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.3527, allocations: 119.9 kB / 334 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000376/0.3531, allocations: 160.9 kB / 334.2 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.3533, allocations: 46.84 kB / 334.2 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.3535, allocations: 101.6 kB / 334.3 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.3538, allocations: 139.2 kB / 334.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.3539, allocations: 5.938 kB / 334.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.3542, allocations: 50.42 kB / 334.5 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3543, allocations: 110.5 kB / 334.6 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/0.3544, allocations: 66.17 kB / 334.7 MB, free: 4.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.3549, allocations: 266.9 kB / 335 MB, free: 4.559 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3549, allocations: 4 kB / 335 MB, free: 4.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3549, allocations: 3.938 kB / 335 MB, free: 4.551 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3549, allocations: 0 / 335 MB, free: 4.551 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001121/0.3561, allocations: 0.7664 MB / 335.7 MB, free: 3.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.3561, allocations: 9.031 kB / 335.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.064e-05/0.3562, allocations: 44.62 kB / 335.8 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.905e-05/0.3563, allocations: 45.28 kB / 335.8 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000771/0.3571, allocations: 396 kB / 336.2 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3571, allocations: 13.28 kB / 336.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.3572, allocations: 16 kB / 336.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.3576, allocations: 125.7 kB / 336.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.3577, allocations: 1.094 kB / 336.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.3577, allocations: 6.031 kB / 336.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3577, allocations: 2.5 kB / 336.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.3581, allocations: 91.98 kB / 336.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.3594, allocations: 0.6487 MB / 337.1 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.3598, allocations: 119.5 kB / 337.2 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.3598, allocations: 7.406 kB / 337.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3599, allocations: 44.59 kB / 337.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.474e-06/0.3599, allocations: 0 / 337.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.002363/0.3623, allocations: 0.54 MB / 337.8 MB, free: 2.543 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3623, allocations: 78.2 kB / 337.9 MB, free: 2.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.3637, allocations: 0.8121 MB / 338.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.3638, allocations: 31.14 kB / 338.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.364, allocations: 248.6 kB / 339 MB, free: 1.801 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.942e-05/0.364, allocations: 48.83 kB / 339 MB, free: 1.758 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.3641, allocations: 5.312 kB / 339 MB, free: 1.754 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.3641, allocations: 320.2 kB / 339.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.3645, allocations: 78.02 kB / 339.4 MB, free: 1.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.3648, allocations: 89.8 kB / 339.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.3652, allocations: 185.1 kB / 339.7 MB, free: 1.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.3652, allocations: 3.938 kB / 339.7 MB, free: 1.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008342/0.3661, allocations: 329.8 kB / 340 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.241e-05/0.3661, allocations: 110.1 kB / 340.1 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3662, allocations: 3.984 kB / 340.1 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.3662, allocations: 2.406 kB / 340.1 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.3666, allocations: 48.22 kB / 340.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3666, allocations: 1.5 kB / 340.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.3669, allocations: 19.2 kB / 340.2 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.367, allocations: 13.98 kB / 340.2 MB, free: 0.7891 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0003358/0.3673, allocations: 196.5 kB / 340.4 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.3675, allocations: 44.94 kB / 340.5 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.3685, allocations: 299 kB / 340.8 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3685, allocations: 2.438 kB / 340.8 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3685, allocations: 5.406 kB / 340.8 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3686, allocations: 0 / 340.8 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.3704, allocations: 0.7635 MB / 341.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3704, allocations: 1.344 kB / 341.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.3708, allocations: 44.09 kB / 341.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.3708, allocations: 5.344 kB / 341.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.3708, allocations: 2.531 kB / 341.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.3708, allocations: 5.016 kB / 341.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3708, allocations: 0 / 341.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3719, allocations: 417.6 kB / 342 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.3722, allocations: 158.2 kB / 342.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.3723, allocations: 6.031 kB / 342.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.3726, allocations: 13.7 kB / 342.2 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-05/0.3727, allocations: 19.38 kB / 342.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.3727, allocations: 12.38 kB / 342.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00113/0.3738, allocations: 0.5901 MB / 342.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.3739, allocations: 0 / 342.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006301/0.3745, allocations: 70.8 kB / 342.9 MB, free: 15.05 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002631/0.3772, allocations: 1.304 MB / 344.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.3782, allocations: 395.2 kB / 344.5 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3783, allocations: 0 / 344.5 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.3786, allocations: 87.05 kB / 344.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/0.3793, allocations: 55.36 kB / 344.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.3823, allocations: 1.339 MB / 346 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.3829, allocations: 0.8412 MB / 346.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.3834, allocations: 145.9 kB / 347 MB, free: 11.76 MB / 282.7 MB Notification: Performance of SimCode: time 1.372e-06/0.3834, allocations: 5.344 kB / 347 MB, free: 11.76 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.723/3.106, allocations: 7.156 MB / 354.2 MB, free: 7.098 MB / 282.7 MB