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.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.972e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3548, allocations: 54.85 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.5043, allocations: 80.23 MB / 438.4 MB, free: 14.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.5047, allocations: 75.89 kB / 438.4 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.5186, allocations: 3.104 MB / 441.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5187, allocations: 0 / 441.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.5187, allocations: 0 / 441.5 MB, free: 11.34 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.0005885/0.5193, allocations: 407.9 kB / 441.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.5193, allocations: 16.03 kB / 441.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.5194, allocations: 11.86 kB / 442 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.5198, allocations: 196.6 kB / 442.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.5198, allocations: 0 / 442.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.5198, allocations: 0 / 442.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.734e-05/0.5199, allocations: 12 kB / 442.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.52, allocations: 45.69 kB / 442.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5201, allocations: 3.938 kB / 442.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5201, allocations: 0 / 442.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5201, allocations: 7.953 kB / 442.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.5207, allocations: 269.5 kB / 442.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.5209, allocations: 38.58 kB / 442.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.521, allocations: 8.859 kB / 442.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.521, allocations: 96 / 442.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.5211, allocations: 48.36 kB / 442.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/0.5211, allocations: 0 / 442.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000602/0.5217, allocations: 117.2 kB / 442.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.5218, allocations: 55.39 kB / 442.7 MB, free: 9.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.5221, allocations: 166.3 kB / 442.9 MB, free: 9.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.5221, allocations: 29.7 kB / 442.9 MB, free: 9.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.5222, allocations: 162.6 kB / 443.1 MB, free: 9.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.5223, allocations: 23.73 kB / 443.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-06/0.5223, allocations: 0 / 443.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.5225, allocations: 310.8 kB / 443.4 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.5225, allocations: 16 kB / 443.4 MB, free: 9.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.559e-05/0.5226, allocations: 15.94 kB / 443.4 MB, free: 9.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.435e-05/0.5227, allocations: 15.98 kB / 443.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.5227, allocations: 0 / 443.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000191/0.5229, allocations: 73.53 kB / 443.5 MB, free: 9.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.5229, allocations: 29.7 kB / 443.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.523, allocations: 4 kB / 443.6 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.523, allocations: 0 / 443.6 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.5232, allocations: 19.94 kB / 443.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5232, allocations: 0 / 443.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.133e-05/0.5233, allocations: 11.98 kB / 443.6 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.5233, allocations: 0 / 443.6 MB, free: 9.059 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.133e-05/0.5234, allocations: 105 kB / 443.7 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001763/0.5236, allocations: 65.53 kB / 443.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.5237, allocations: 19.84 kB / 443.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.5239, allocations: 82.03 kB / 443.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5239, allocations: 0 / 443.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5239, allocations: 384 / 443.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5239, allocations: 0 / 443.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.5245, allocations: 327.1 kB / 444.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5245, allocations: 0 / 444.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.5246, allocations: 23.98 kB / 444.2 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.5247, allocations: 3.953 kB / 444.2 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5247, allocations: 4 kB / 444.2 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5247, allocations: 0 / 444.2 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5247, allocations: 0 / 444.2 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.5249, allocations: 159.5 kB / 444.4 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.525, allocations: 93 kB / 444.5 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.5251, allocations: 7.891 kB / 444.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.5252, allocations: 8 kB / 444.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.5253, allocations: 7.984 kB / 444.5 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.5253, allocations: 0 / 444.5 MB, free: 8.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001758/0.5255, allocations: 143.1 kB / 444.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5255, allocations: 0 / 444.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.5258, allocations: 19.91 kB / 444.6 MB, free: 7.914 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.001196/0.527, allocations: 0.8553 MB / 445.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.5273, allocations: 95.33 kB / 445.6 MB, free: 6.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5273, allocations: 0 / 445.6 MB, free: 6.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.624e-05/0.5274, allocations: 16 kB / 445.6 MB, free: 6.949 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.5276, allocations: 11.95 kB / 445.6 MB, free: 6.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007049/0.5284, allocations: 231.4 kB / 445.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.5288, allocations: 0.708 MB / 446.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.439e-05/0.5289, allocations: 23.44 kB / 446.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of SimCode: time 4.168e-06/0.5289, allocations: 0 / 446.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.858/3.387, allocations: 1.87 MB / 448.4 MB, free: 4.043 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test15_res.mat does not exist to compare? outputFormat=mat