Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test1.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.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.441/2.441, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.199e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3462, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.4953, allocations: 80.28 MB / 438.4 MB, free: 14.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.4956, allocations: 75.95 kB / 438.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01915/0.5148, allocations: 5.381 MB / 443.9 MB, free: 8.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5148, allocations: 0 / 443.9 MB, free: 8.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.562e-05/0.5149, allocations: 15.98 kB / 443.9 MB, free: 8.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007332/0.5156, allocations: 0.5655 MB / 444.4 MB, free: 8.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.5157, allocations: 8.031 kB / 444.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.5158, allocations: 43.47 kB / 444.5 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.5164, allocations: 319.3 kB / 444.8 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.5165, allocations: 4 kB / 444.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.5165, allocations: 3.938 kB / 444.8 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.361e-05/0.5166, allocations: 19.98 kB / 444.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.5167, allocations: 41.66 kB / 444.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5168, allocations: 0 / 444.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5168, allocations: 0 / 444.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5168, allocations: 0 / 444.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007196/0.5175, allocations: 397.4 kB / 445.3 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.5178, allocations: 46.45 kB / 445.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.5178, allocations: 8.859 kB / 445.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.5178, allocations: 0 / 445.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.5179, allocations: 36.38 kB / 445.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/0.5179, allocations: 0 / 445.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006721/0.5186, allocations: 184.1 kB / 445.5 MB, free: 7.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.5186, allocations: 55.41 kB / 445.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.5204, allocations: 0.7316 MB / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.5205, allocations: 29.7 kB / 446.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.5207, allocations: 238.5 kB / 446.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.5208, allocations: 15.72 kB / 446.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.5208, allocations: 0 / 446.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5209, allocations: 314.8 kB / 446.9 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/0.521, allocations: 12 kB / 446.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.521, allocations: 16 kB / 446.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.784e-05/0.5211, allocations: 11.98 kB / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5211, allocations: 0 / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001874/0.5213, allocations: 65.64 kB / 447 MB, free: 5.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.5214, allocations: 33.64 kB / 447 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5214, allocations: 0 / 447 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5214, allocations: 0 / 447 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.5216, allocations: 19.98 kB / 447.1 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5216, allocations: 0 / 447.1 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.5217, allocations: 11.94 kB / 447.1 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.5217, allocations: 3.938 kB / 447.1 MB, free: 5.57 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.726e-05/0.5219, allocations: 111 kB / 447.2 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002387/0.5221, allocations: 97.42 kB / 447.3 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.5222, allocations: 43.44 kB / 447.3 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.5225, allocations: 117.2 kB / 447.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.5226, allocations: 0 / 447.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5226, allocations: 0 / 447.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5226, allocations: 0 / 447.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009947/0.5236, allocations: 0.5341 MB / 448 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5236, allocations: 0 / 448 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.5237, allocations: 15.94 kB / 448 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.5238, allocations: 0 / 448 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.5238, allocations: 0 / 448 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5238, allocations: 4 kB / 448 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5238, allocations: 0 / 448 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.5241, allocations: 191.1 kB / 448.2 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.5243, allocations: 160.6 kB / 448.3 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.662e-05/0.5244, allocations: 0 / 448.3 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.5246, allocations: 11.98 kB / 448.3 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.5246, allocations: 4 kB / 448.3 MB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.5246, allocations: 8 kB / 448.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009881/0.5256, allocations: 0.5926 MB / 448.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5257, allocations: 0 / 448.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004727/0.5261, allocations: 59.94 kB / 449 MB, free: 3.543 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.001141/0.5273, allocations: 0.8783 MB / 449.9 MB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.5275, allocations: 87.41 kB / 450 MB, free: 2.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5275, allocations: 0 / 450 MB, free: 2.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.432e-05/0.5276, allocations: 19.94 kB / 450 MB, free: 2.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.5279, allocations: 14.09 kB / 450 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.5298, allocations: 0.8386 MB / 450.8 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.5304, allocations: 0.8263 MB / 451.7 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.5306, allocations: 107.3 kB / 451.8 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5306, allocations: 0 / 451.8 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.818/3.349, allocations: 6.818 MB / 458.6 MB, free: 9.875 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat does not exist to compare? outputFormat=mat