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.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.665e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3797, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.5223, allocations: 80.18 MB / 438.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.5226, allocations: 75.94 kB / 438.4 MB, free: 14.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01142/0.5341, allocations: 2.681 MB / 441.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.838e-06/0.5341, allocations: 0 / 441.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.5342, allocations: 3.938 kB / 441.1 MB, free: 11.8 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.0004811/0.5346, allocations: 392.2 kB / 441.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.5347, allocations: 12.03 kB / 441.5 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.5348, allocations: 11.8 kB / 441.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.535, allocations: 186.9 kB / 441.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.5351, allocations: 0 / 441.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.5351, allocations: 0 / 441.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.659e-05/0.5352, allocations: 12 kB / 441.7 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.99e-05/0.5353, allocations: 45.62 kB / 441.7 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5353, allocations: 4 kB / 441.7 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.5353, allocations: 3.984 kB / 441.7 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.5354, allocations: 3.953 kB / 441.7 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.5357, allocations: 241.5 kB / 442 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.536, allocations: 38.56 kB / 442 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.536, allocations: 16.86 kB / 442 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.536, allocations: 3.938 kB / 442 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.5361, allocations: 30.56 kB / 442 MB, free: 10.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.5361, allocations: 0 / 442 MB, free: 10.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004904/0.5366, allocations: 103.3 kB / 442.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.5366, allocations: 51.41 kB / 442.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.5368, allocations: 121.2 kB / 442.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.5368, allocations: 29.7 kB / 442.3 MB, free: 10.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.5369, allocations: 162.4 kB / 442.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.5369, allocations: 19.75 kB / 442.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.537, allocations: 0 / 442.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5371, allocations: 314.8 kB / 442.8 MB, free: 9.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.673e-05/0.5371, allocations: 8 kB / 442.8 MB, free: 9.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.738e-05/0.5372, allocations: 12 kB / 442.9 MB, free: 9.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.5372, allocations: 15.94 kB / 442.9 MB, free: 9.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5372, allocations: 0 / 442.9 MB, free: 9.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001807/0.5374, allocations: 69.88 kB / 442.9 MB, free: 9.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.5375, allocations: 33.64 kB / 443 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.5375, allocations: 0 / 443 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.5375, allocations: 4 kB / 443 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.5377, allocations: 15.94 kB / 443 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.5377, allocations: 4 kB / 443 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.5378, allocations: 4 kB / 443 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.5378, allocations: 0 / 443 MB, free: 9.66 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 7.976e-05/0.5379, allocations: 115 kB / 443.1 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001435/0.538, allocations: 61.59 kB / 443.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.5381, allocations: 3.906 kB / 443.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.5383, allocations: 78.02 kB / 443.2 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.5383, allocations: 4 kB / 443.3 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.5383, allocations: 0 / 443.3 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5383, allocations: 0 / 443.3 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.5388, allocations: 295.1 kB / 443.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5388, allocations: 8 kB / 443.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.5389, allocations: 11.98 kB / 443.6 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.5389, allocations: 7.953 kB / 443.6 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.5389, allocations: 0 / 443.6 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.539, allocations: 0 / 443.6 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.539, allocations: 0 / 443.6 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.5391, allocations: 155.7 kB / 443.7 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.5392, allocations: 93.11 kB / 443.8 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.5392, allocations: 3.953 kB / 443.8 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.5394, allocations: 7.984 kB / 443.8 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.5394, allocations: 4 kB / 443.8 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.5394, allocations: 0 / 443.8 MB, free: 8.738 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.5396, allocations: 103.3 kB / 443.9 MB, free: 8.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5396, allocations: 0 / 443.9 MB, free: 8.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.5399, allocations: 15.91 kB / 443.9 MB, free: 8.621 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.001142/0.5411, allocations: 0.8287 MB / 444.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.5413, allocations: 91.28 kB / 444.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.5413, allocations: 0 / 444.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.306e-05/0.5414, allocations: 16 kB / 444.9 MB, free: 7.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.5417, allocations: 11.94 kB / 444.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.5424, allocations: 179.2 kB / 445.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.5427, allocations: 0.6885 MB / 445.7 MB, free: 6.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.5428, allocations: 19.44 kB / 445.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5428, allocations: 0 / 445.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.76/3.303, allocations: 1.51 MB / 447.3 MB, free: 5.211 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat