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.Test7.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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.289/2.289, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.346e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3717, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.567, allocations: 80.19 MB / 438.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5673, allocations: 71.95 kB / 438.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01156/0.5789, allocations: 2.736 MB / 441.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5789, allocations: 0 / 441.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.579, allocations: 0 / 441.1 MB, free: 11.74 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.0004971/0.5795, allocations: 406 kB / 441.5 MB, free: 11.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5795, allocations: 12.03 kB / 441.5 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.5796, allocations: 7.859 kB / 441.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.5799, allocations: 198.9 kB / 441.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.5799, allocations: 0 / 441.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.5799, allocations: 4 kB / 441.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.543e-05/0.58, allocations: 12 kB / 441.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.676e-05/0.5801, allocations: 41.62 kB / 441.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5802, allocations: 0 / 441.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5802, allocations: 0 / 441.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.5802, allocations: 11.95 kB / 441.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.5806, allocations: 241.5 kB / 442 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.5808, allocations: 42.55 kB / 442.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.5809, allocations: 12.86 kB / 442.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.5809, allocations: 0 / 442.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.581, allocations: 34.5 kB / 442.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.581, allocations: 0 / 442.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005055/0.5815, allocations: 107.2 kB / 442.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.5815, allocations: 55.41 kB / 442.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.5817, allocations: 129 kB / 442.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.5818, allocations: 25.7 kB / 442.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.5819, allocations: 154.6 kB / 442.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.5819, allocations: 15.75 kB / 442.6 MB, free: 10.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.5819, allocations: 0 / 442.6 MB, free: 10.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5821, allocations: 318.8 kB / 442.9 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.5821, allocations: 15.94 kB / 442.9 MB, free: 9.742 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.78e-05/0.5822, allocations: 11.98 kB / 442.9 MB, free: 9.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.4e-05/0.5822, allocations: 12 kB / 442.9 MB, free: 9.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5822, allocations: 0 / 442.9 MB, free: 9.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001564/0.5824, allocations: 61.59 kB / 443 MB, free: 9.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.5825, allocations: 33.7 kB / 443 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5825, allocations: 3.938 kB / 443 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5825, allocations: 3.938 kB / 443 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.5826, allocations: 23.94 kB / 443.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5827, allocations: 0 / 443.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.5827, allocations: 4 kB / 443.1 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.5828, allocations: 4 kB / 443.1 MB, free: 9.574 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 9.3e-05/0.5829, allocations: 105 kB / 443.2 MB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001437/0.583, allocations: 61.53 kB / 443.2 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.5831, allocations: 8 kB / 443.2 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.5833, allocations: 73.94 kB / 443.3 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.5833, allocations: 4 kB / 443.3 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5833, allocations: 0 / 443.3 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5833, allocations: 0 / 443.3 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.5838, allocations: 307.5 kB / 443.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5838, allocations: 0 / 443.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.5839, allocations: 15.98 kB / 443.6 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.584, allocations: 3.953 kB / 443.6 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.584, allocations: 0 / 443.6 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.584, allocations: 4 kB / 443.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.584, allocations: 0 / 443.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.5842, allocations: 155.4 kB / 443.8 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.5843, allocations: 81.11 kB / 443.9 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.5843, allocations: 3.953 kB / 443.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.5845, allocations: 11.98 kB / 443.9 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.5845, allocations: 4 kB / 443.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.5845, allocations: 8 kB / 443.9 MB, free: 8.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.5847, allocations: 104.2 kB / 444 MB, free: 8.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5847, allocations: 0 / 444 MB, free: 8.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003245/0.585, allocations: 15.98 kB / 444 MB, free: 8.531 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.001128/0.5862, allocations: 0.8374 MB / 444.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.5864, allocations: 91.33 kB / 444.9 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5864, allocations: 3.938 kB / 445 MB, free: 7.594 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.997e-05/0.5864, allocations: 16 kB / 445 MB, free: 7.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.5867, allocations: 15.89 kB / 445 MB, free: 7.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.5873, allocations: 179.1 kB / 445.2 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.5877, allocations: 0.6962 MB / 445.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/0.5878, allocations: 23.42 kB / 445.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5878, allocations: 4 kB / 445.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.74/3.328, allocations: 1.553 MB / 447.4 MB, free: 5.047 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat does not exist to compare? outputFormat=mat