Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test27.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.257e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3683, allocations: 54.85 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.5336, allocations: 80.21 MB / 438.3 MB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5339, allocations: 71.95 kB / 438.4 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01383/0.5478, allocations: 3.322 MB / 441.7 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5478, allocations: 0 / 441.7 MB, free: 11.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.5479, allocations: 0 / 441.7 MB, free: 11.11 MB / 378.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.0005428/0.5484, allocations: 443.7 kB / 442.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5485, allocations: 8.031 kB / 442.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.5486, allocations: 15.81 kB / 442.2 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.5489, allocations: 206.9 kB / 442.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.5489, allocations: 0 / 442.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.549, allocations: 4 kB / 442.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.014e-05/0.5491, allocations: 12 kB / 442.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.5492, allocations: 45.69 kB / 442.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.5492, allocations: 7.891 kB / 442.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5492, allocations: 0 / 442.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.5492, allocations: 0 / 442.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.5498, allocations: 277.4 kB / 442.7 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.55, allocations: 38.56 kB / 442.8 MB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.5501, allocations: 16.86 kB / 442.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.5501, allocations: 0 / 442.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.542e-05/0.5502, allocations: 40.33 kB / 442.8 MB, free: 9.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 4.309e-06/0.5502, allocations: 3.984 kB / 442.8 MB, free: 9.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005547/0.5508, allocations: 121.2 kB / 443 MB, free: 9.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.5509, allocations: 51.41 kB / 443 MB, free: 9.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.5513, allocations: 226.6 kB / 443.2 MB, free: 9.434 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.5513, allocations: 25.7 kB / 443.2 MB, free: 9.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.5514, allocations: 174.5 kB / 443.4 MB, free: 9.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.5515, allocations: 15.73 kB / 443.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.5515, allocations: 0 / 443.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.5517, allocations: 318.8 kB / 443.7 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.5518, allocations: 12 kB / 443.8 MB, free: 8.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.422e-05/0.5518, allocations: 15.94 kB / 443.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.053e-05/0.5519, allocations: 15.98 kB / 443.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5519, allocations: 4 kB / 443.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001854/0.5521, allocations: 65.69 kB / 443.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.5521, allocations: 33.64 kB / 443.9 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5522, allocations: 3.953 kB / 443.9 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5522, allocations: 0 / 443.9 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.5523, allocations: 15.98 kB / 443.9 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5523, allocations: 0 / 443.9 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.5524, allocations: 12.23 kB / 443.9 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.5525, allocations: 4 kB / 443.9 MB, free: 8.703 MB / 378.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 () * 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 8.25e-05/0.5525, allocations: 103 kB / 444 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001901/0.5527, allocations: 85.44 kB / 444.1 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.5528, allocations: 11.86 kB / 444.1 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.5531, allocations: 79.3 kB / 444.2 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.5531, allocations: 4 kB / 444.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5531, allocations: 3.938 kB / 444.2 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5531, allocations: 0 / 444.2 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.5537, allocations: 354.9 kB / 444.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5537, allocations: 0 / 444.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.5538, allocations: 15.98 kB / 444.6 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5538, allocations: 0 / 444.6 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.5538, allocations: 4 kB / 444.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5539, allocations: 0 / 444.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.5539, allocations: 0 / 444.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.5541, allocations: 171.4 kB / 444.7 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.5542, allocations: 100.9 kB / 444.8 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.5543, allocations: 3.938 kB / 444.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.5544, allocations: 11.98 kB / 444.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.5544, allocations: 0 / 444.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.5545, allocations: 4.25 kB / 444.9 MB, free: 7.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002713/0.5547, allocations: 180.1 kB / 445 MB, free: 7.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5548, allocations: 0 / 445 MB, free: 7.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.5551, allocations: 20 kB / 445.1 MB, free: 7.48 MB / 378.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 () * 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.001153/0.5563, allocations: 0.8644 MB / 445.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.5565, allocations: 95.28 kB / 446 MB, free: 6.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5565, allocations: 0 / 446 MB, free: 6.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.5566, allocations: 16 kB / 446 MB, free: 6.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.5568, allocations: 16.17 kB / 446 MB, free: 6.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008156/0.5577, allocations: 287.8 kB / 446.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.5581, allocations: 0.7158 MB / 447 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.5582, allocations: 35.42 kB / 447.1 MB, free: 5.387 MB / 378.7 MB Notification: Performance of SimCode: time 3.376e-06/0.5582, allocations: 4 kB / 447.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.74/3.298, allocations: 2.216 MB / 449.3 MB, free: 3.168 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat does not exist to compare? outputFormat=mat