Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test4.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.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.106/2.106, allocations: 209.2 MB / 224.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006001/0.0006001, allocations: 8 kB / 282.7 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1114, allocations: 48.7 MB / 331.4 MB, free: 8.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4008/0.5122, allocations: 74.62 MB / 406 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.5125, allocations: 71 kB / 406.1 MB, free: 10.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.526, allocations: 3.312 MB / 409.4 MB, free: 7.027 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5261, allocations: 0 / 409.4 MB, free: 7.027 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.5261, allocations: 4 kB / 409.4 MB, free: 7.023 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005892/0.5267, allocations: 447.6 kB / 409.8 MB, free: 6.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5268, allocations: 8.031 kB / 409.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.5268, allocations: 34.55 kB / 409.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.5269, allocations: 19.81 kB / 409.9 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.5272, allocations: 214.8 kB / 410.1 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.5272, allocations: 4 kB / 410.1 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.5273, allocations: 4 kB / 410.1 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.5275, allocations: 83.33 kB / 410.2 MB, free: 6.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5276, allocations: 0 / 410.2 MB, free: 6.113 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.5276, allocations: 0 / 410.2 MB, free: 6.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5276, allocations: 0 / 410.2 MB, free: 6.113 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.5278, allocations: 39.97 kB / 410.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.5285, allocations: 412.9 kB / 410.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.5289, allocations: 89.16 kB / 410.7 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.5289, allocations: 7.938 kB / 410.7 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.529, allocations: 38.5 kB / 410.7 MB, free: 5.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.529, allocations: 0 / 410.7 MB, free: 5.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.001142/0.5301, allocations: 260.9 kB / 411 MB, free: 5.195 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.5302, allocations: 81.11 kB / 411.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.5305, allocations: 202.4 kB / 411.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.5306, allocations: 29.7 kB / 411.3 MB, free: 4.852 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.5307, allocations: 162.6 kB / 411.5 MB, free: 4.691 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.5307, allocations: 31.55 kB / 411.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.5307, allocations: 4 kB / 411.5 MB, free: 4.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5309, allocations: 314.8 kB / 411.8 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.5311, allocations: 39.97 kB / 411.8 MB, free: 4.301 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.5313, allocations: 40.52 kB / 411.9 MB, free: 4.262 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.5315, allocations: 73.84 kB / 412 MB, free: 4.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5315, allocations: 0 / 412 MB, free: 4.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004628/0.532, allocations: 163.1 kB / 412.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.532, allocations: 37.69 kB / 412.2 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.532, allocations: 0 / 412.2 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5321, allocations: 0 / 412.2 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.5322, allocations: 23.98 kB / 412.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.5323, allocations: 7.953 kB / 412.2 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.681e-05/0.5324, allocations: 8 kB / 412.2 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.5324, allocations: 4 kB / 412.2 MB, free: 3.926 MB / 330.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 (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.0001514/0.5325, allocations: 133.8 kB / 412.3 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.5326, allocations: 11.91 kB / 412.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.5332, allocations: 162.5 kB / 412.5 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5332, allocations: 0 / 412.5 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.5332, allocations: 3.984 kB / 412.5 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.5332, allocations: 3.953 kB / 412.5 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.5343, allocations: 0.5267 MB / 413 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.5343, allocations: 8.062 kB / 413 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.5345, allocations: 19.98 kB / 413.1 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.5345, allocations: 4 kB / 413.1 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.5345, allocations: 3.953 kB / 413.1 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.5345, allocations: 7.969 kB / 413.1 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5346, allocations: 4 kB / 413.1 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/0.5351, allocations: 352.1 kB / 413.4 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.5352, allocations: 89.02 kB / 413.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.5352, allocations: 0 / 413.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.5354, allocations: 15.98 kB / 413.5 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.5355, allocations: 11.92 kB / 413.5 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.5355, allocations: 0 / 413.5 MB, free: 2.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002234/0.5357, allocations: 159.9 kB / 413.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5358, allocations: 4 kB / 413.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000435/0.5362, allocations: 31.94 kB / 413.7 MB, free: 2.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0015/0.5377, allocations: 1.137 MB / 414.9 MB, free: 1.141 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004709/0.5382, allocations: 155.3 kB / 415 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5382, allocations: 0 / 415 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.5384, allocations: 48.11 kB / 415.1 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.5388, allocations: 15.92 kB / 415.1 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.54, allocations: 0.5865 MB / 415.7 MB, free: 276 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.5404, allocations: 0.7238 MB / 416.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.5406, allocations: 35.42 kB / 416.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5406, allocations: 0 / 416.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.983/3.523, allocations: 2.28 MB / 418.7 MB, free: 13.21 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat does not exist to compare? outputFormat=mat