Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test9.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadModel(ModelicaTest): time 2.185/2.185, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.638e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3631, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.4878, allocations: 80.04 MB / 438.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.4881, allocations: 71.95 kB / 438.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01684/0.5049, allocations: 5.201 MB / 443.4 MB, free: 9.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.409e-06/0.505, allocations: 7.922 kB / 443.4 MB, free: 9.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.972e-05/0.505, allocations: 8 kB / 443.4 MB, free: 9.477 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.0007107/0.5057, allocations: 0.566 MB / 443.9 MB, free: 8.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5058, allocations: 12.03 kB / 444 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.376e-05/0.5059, allocations: 35.53 kB / 444 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006326/0.5066, allocations: 311.3 kB / 444.3 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.5066, allocations: 0 / 444.3 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.5066, allocations: 7.984 kB / 444.3 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001238/0.5068, allocations: 19.94 kB / 444.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.5069, allocations: 33.7 kB / 444.4 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.507, allocations: 3.953 kB / 444.4 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.507, allocations: 4 kB / 444.4 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-06/0.507, allocations: 4 kB / 444.4 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009581/0.508, allocations: 389.4 kB / 444.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.5081, allocations: 30.58 kB / 444.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.5082, allocations: 8.859 kB / 444.8 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.5082, allocations: 3.938 kB / 444.8 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.5083, allocations: 42.52 kB / 444.8 MB, free: 7.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.584e-06/0.5083, allocations: 0 / 444.8 MB, free: 7.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003734/0.5087, allocations: 89.3 kB / 444.9 MB, free: 7.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.5088, allocations: 55.34 kB / 445 MB, free: 7.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.5106, allocations: 0.7355 MB / 445.7 MB, free: 6.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.5106, allocations: 25.7 kB / 445.7 MB, free: 6.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.5109, allocations: 234.5 kB / 446 MB, free: 6.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.5109, allocations: 7.844 kB / 446 MB, free: 6.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.5109, allocations: 0 / 446 MB, free: 6.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5111, allocations: 320.6 kB / 446.3 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/0.5111, allocations: 7.984 kB / 446.3 MB, free: 6.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.5112, allocations: 8 kB / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.513e-05/0.5112, allocations: 8 kB / 446.3 MB, free: 6.348 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.089e-06/0.5113, allocations: 4 kB / 446.3 MB, free: 6.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001583/0.5114, allocations: 49.62 kB / 446.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.5115, allocations: 29.7 kB / 446.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.838e-06/0.5115, allocations: 4 kB / 446.4 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.5115, allocations: 3.953 kB / 446.4 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.5117, allocations: 15.98 kB / 446.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.453e-06/0.5117, allocations: 0 / 446.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.5118, allocations: 4 kB / 446.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.5119, allocations: 4 kB / 446.4 MB, free: 6.223 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 (4): * Single equations (assignments): 3 * 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.62e-05/0.512, allocations: 101 kB / 446.5 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.5121, allocations: 43.44 kB / 446.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.5124, allocations: 101.1 kB / 446.7 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.707e-06/0.5124, allocations: 7.938 kB / 446.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.924e-06/0.5125, allocations: 7.953 kB / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5125, allocations: 0 / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.5129, allocations: 298 kB / 447 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.994e-06/0.513, allocations: 0 / 447 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.203e-05/0.5131, allocations: 8 kB / 447 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.073e-06/0.5131, allocations: 4 kB / 447 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.918e-06/0.5131, allocations: 0 / 447 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.991e-06/0.5131, allocations: 0 / 447 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.583e-06/0.5131, allocations: 0 / 447 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.5134, allocations: 187 kB / 447.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.5137, allocations: 160.5 kB / 447.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.5137, allocations: 0 / 447.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.5139, allocations: 7.984 kB / 447.3 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.514, allocations: 7.938 kB / 447.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-06/0.514, allocations: 3.938 kB / 447.3 MB, free: 5.215 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009571/0.515, allocations: 0.6004 MB / 447.9 MB, free: 4.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.045e-06/0.515, allocations: 0 / 447.9 MB, free: 4.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004544/0.5154, allocations: 52 kB / 448 MB, free: 4.566 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 (3): * Single equations (assignments): 3 * 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.0007107/0.5162, allocations: 211.6 kB / 448.2 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.5164, allocations: 75.39 kB / 448.3 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/0.5164, allocations: 0 / 448.3 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.739e-05/0.5165, allocations: 12 kB / 448.3 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.5168, allocations: 14.09 kB / 448.3 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.5184, allocations: 0.731 MB / 449 MB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.519, allocations: 0.8146 MB / 449.8 MB, free: 2.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.5192, allocations: 19.44 kB / 449.9 MB, free: 2.645 MB / 378.7 MB Notification: Performance of SimCode: time 1.741e-06/0.5192, allocations: 0 / 449.9 MB, free: 2.645 MB / 378.7 MB Notification: Performance of Templates: time 0.009977/0.5292, allocations: 3.735 MB / 453.6 MB, free: 14.9 MB / 394.7 MB