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.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.571/2.571, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.252e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3604, allocations: 54.85 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.5124, allocations: 80.17 MB / 438.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5128, allocations: 75.95 kB / 438.4 MB, free: 14.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0121/0.5249, allocations: 2.771 MB / 441.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5249, allocations: 0 / 441.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.525, allocations: 0 / 441.2 MB, free: 11.79 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.000505/0.5255, allocations: 400 kB / 441.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.5255, allocations: 8.031 kB / 441.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.5256, allocations: 7.953 kB / 441.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.5259, allocations: 196.2 kB / 441.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.5259, allocations: 0 / 441.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.526, allocations: 4 kB / 441.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.117e-05/0.5261, allocations: 8 kB / 441.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.41e-05/0.5262, allocations: 41.69 kB / 441.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5262, allocations: 0 / 441.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5262, allocations: 0 / 441.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.5262, allocations: 11.95 kB / 441.8 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.5267, allocations: 249.4 kB / 442.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.5269, allocations: 34.58 kB / 442.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.527, allocations: 16.84 kB / 442.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.527, allocations: 0 / 442.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.527, allocations: 38.64 kB / 442.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/0.527, allocations: 0 / 442.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005131/0.5276, allocations: 103.2 kB / 442.2 MB, free: 10.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.5276, allocations: 51.41 kB / 442.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.5279, allocations: 146.5 kB / 442.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.5279, allocations: 25.7 kB / 442.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.528, allocations: 158.5 kB / 442.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.528, allocations: 19.81 kB / 442.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.5281, allocations: 0 / 442.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5282, allocations: 310.8 kB / 442.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.5283, allocations: 12 kB / 443 MB, free: 9.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.5283, allocations: 12.06 kB / 443 MB, free: 9.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/0.5284, allocations: 15.98 kB / 443 MB, free: 9.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5284, allocations: 3.938 kB / 443 MB, free: 9.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000161/0.5286, allocations: 61.62 kB / 443 MB, free: 9.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.5286, allocations: 33.7 kB / 443.1 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5286, allocations: 4 kB / 443.1 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5287, allocations: 0 / 443.1 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.5288, allocations: 23.94 kB / 443.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.5288, allocations: 0 / 443.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.5289, allocations: 4 kB / 443.1 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.5289, allocations: 7.938 kB / 443.1 MB, free: 9.609 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.38e-05/0.529, allocations: 103 kB / 443.2 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001533/0.5292, allocations: 61.59 kB / 443.3 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.5293, allocations: 11.91 kB / 443.3 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.5295, allocations: 73.97 kB / 443.4 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5295, allocations: 0 / 443.4 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5295, allocations: 4 kB / 443.4 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5295, allocations: 0 / 443.4 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.53, allocations: 299.2 kB / 443.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.53, allocations: 0 / 443.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.5302, allocations: 23.92 kB / 443.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.5302, allocations: 3.953 kB / 443.7 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.5302, allocations: 384 / 443.7 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5302, allocations: 0 / 443.7 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.5302, allocations: 4 kB / 443.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.5304, allocations: 155.5 kB / 443.8 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.5305, allocations: 89 kB / 443.9 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.5305, allocations: 7.953 kB / 443.9 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.5307, allocations: 8 kB / 443.9 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.5307, allocations: 3.984 kB / 443.9 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.5308, allocations: 4 kB / 444 MB, free: 8.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.5309, allocations: 117.9 kB / 444.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5309, allocations: 0 / 444.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.5312, allocations: 19.94 kB / 444.1 MB, free: 8.547 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.001179/0.5324, allocations: 0.8453 MB / 444.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.5327, allocations: 79.41 kB / 445 MB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5327, allocations: 0 / 445 MB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.066e-05/0.5327, allocations: 15.94 kB / 445 MB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.533, allocations: 16.19 kB / 445 MB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.5337, allocations: 195 kB / 445.2 MB, free: 7.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.5341, allocations: 0.6963 MB / 445.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.5341, allocations: 27.36 kB / 446 MB, free: 6.605 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5342, allocations: 0 / 446 MB, free: 6.605 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.742/3.276, allocations: 1.635 MB / 447.6 MB, free: 4.973 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat does not exist to compare? outputFormat=mat