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.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.091e-05/2.099e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3528, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.5152, allocations: 80.19 MB / 438.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5156, allocations: 71.95 kB / 438.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01203/0.5276, allocations: 2.736 MB / 441.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5277, allocations: 0 / 441.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.5277, allocations: 4 kB / 441.1 MB, free: 11.73 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.0005176/0.5282, allocations: 400 kB / 441.5 MB, free: 11.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.5283, allocations: 12.03 kB / 441.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.5284, allocations: 11.86 kB / 441.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.5287, allocations: 187 kB / 441.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.5287, allocations: 4 kB / 441.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.5287, allocations: 0 / 441.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.169e-05/0.5288, allocations: 12 kB / 441.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.5289, allocations: 49.62 kB / 441.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.529, allocations: 0 / 441.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.529, allocations: 3.984 kB / 441.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.529, allocations: 7.953 kB / 441.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.5295, allocations: 257.5 kB / 442.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.5297, allocations: 34.56 kB / 442.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.5298, allocations: 16.86 kB / 442.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.5298, allocations: 0 / 442.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.5299, allocations: 38.5 kB / 442.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.502e-06/0.5299, allocations: 0 / 442.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005225/0.5304, allocations: 115.2 kB / 442.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.5305, allocations: 55.41 kB / 442.3 MB, free: 10.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.5307, allocations: 121 kB / 442.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.5307, allocations: 25.7 kB / 442.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.5308, allocations: 166.5 kB / 442.6 MB, free: 10.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.5308, allocations: 15.75 kB / 442.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.5309, allocations: 0 / 442.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.531, allocations: 310.8 kB / 442.9 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.907e-05/0.5311, allocations: 19.94 kB / 443 MB, free: 9.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.242e-05/0.5311, allocations: 15.98 kB / 443 MB, free: 9.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.255e-05/0.5312, allocations: 12 kB / 443 MB, free: 9.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5312, allocations: 0 / 443 MB, free: 9.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001763/0.5314, allocations: 69.59 kB / 443 MB, free: 9.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.5314, allocations: 37.69 kB / 443.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5315, allocations: 3.938 kB / 443.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5315, allocations: 4 kB / 443.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.5316, allocations: 15.95 kB / 443.1 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.5316, allocations: 0 / 443.1 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.5317, allocations: 7.984 kB / 443.1 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.5318, allocations: 4 kB / 443.1 MB, free: 9.531 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.69e-05/0.5319, allocations: 107 kB / 443.2 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001645/0.532, allocations: 69.53 kB / 443.3 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.5321, allocations: 8 kB / 443.3 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.5323, allocations: 86.31 kB / 443.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5323, allocations: 0 / 443.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5323, allocations: 0 / 443.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5324, allocations: 0 / 443.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.5328, allocations: 307.1 kB / 443.7 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5329, allocations: 4 kB / 443.7 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.533, allocations: 19.98 kB / 443.7 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.533, allocations: 7.953 kB / 443.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.533, allocations: 0 / 443.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.533, allocations: 0 / 443.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.533, allocations: 0 / 443.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.5333, allocations: 163.4 kB / 443.9 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.5333, allocations: 85.09 kB / 444 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.5334, allocations: 3.953 kB / 444 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.5335, allocations: 8 kB / 444 MB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.5336, allocations: 7.984 kB / 444 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.5336, allocations: 0 / 444 MB, free: 8.578 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.5337, allocations: 108.2 kB / 444.1 MB, free: 8.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5337, allocations: 0 / 444.1 MB, free: 8.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.534, allocations: 12 kB / 444.1 MB, free: 8.461 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.001176/0.5352, allocations: 0.8527 MB / 444.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.5355, allocations: 91.33 kB / 445 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5355, allocations: 3.938 kB / 445 MB, free: 7.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.842e-05/0.5355, allocations: 16 kB / 445.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5358, allocations: 7.953 kB / 445.1 MB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006392/0.5365, allocations: 195 kB / 445.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.5368, allocations: 0.7001 MB / 446 MB, free: 6.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.5369, allocations: 23.42 kB / 446 MB, free: 6.504 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5369, allocations: 3.938 kB / 446 MB, free: 6.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.625/3.161, allocations: 1.592 MB / 447.6 MB, free: 4.91 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test8_res.mat does not exist to compare? outputFormat=mat