Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|NonlinearSystems.initialization.1..Calls|NonlinearSystems.initialization.1..Iterations|NonlinearSystems.initialization.1..Jacobians|NonlinearSystems.initialization.1..Residues|Time|_derdummy|_dummy|a|a_times_table_input|b|table.columns.1.|table.n|table.smoothness|table.tableOnFile|table.table.1,1.|table.table.1,2.|table.table.2,1.|table.table.2,2.|table.u.1.|table.y.1.|table_result",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|NonlinearSystems.initialization.1..Calls|NonlinearSystems.initialization.1..Iterations|NonlinearSystems.initialization.1..Jacobians|NonlinearSystems.initialization.1..Residues|Time|_derdummy|_dummy|a|a_times_table_input|b|table.columns.1.|table.n|table.smoothness|table.tableOnFile|table.table.1,1.|table.table.1,2.|table.table.2,1.|table.table.2,2.|table.u.1.|table.y.1.|table_result",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01474/0.01474, allocations: 1.42 MB / 17.35 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1348/0.1348, allocations: 22.6 MB / 40.96 MB, free: 0.8203 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007702/0.0007703, allocations: 94.5 kB / 48.72 MB, free: 2.133 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 184.5 kB / 56.58 MB, free: 5.902 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 287.6 MB, free: 14.64 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9629/0.9629, allocations: 127.7 MB / 473.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005318/0.0005318, allocations: 20 kB / 0.5573 GB, free: 17.14 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1904, allocations: 83.89 MB / 0.6392 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.001899/0.1924, allocations: 1.016 MB / 0.6402 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005508/0.193, allocations: 151.5 kB / 0.6404 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.1931, allocations: 0 / 0.6404 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1933, allocations: 31.89 kB / 0.6404 GB, free: 12.06 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.1934, allocations: 15.98 kB / 0.6404 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.1937, allocations: 27.91 kB / 0.6405 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1939, allocations: 43.89 kB / 0.6405 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.901e-05/0.194, allocations: 4 kB / 0.6405 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.1941, allocations: 23.92 kB / 0.6405 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1942, allocations: 23.86 kB / 0.6405 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1942, allocations: 0 / 0.6405 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.142e-05/0.1943, allocations: 16 kB / 0.6406 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.1944, allocations: 19.91 kB / 0.6406 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.1945, allocations: 37.58 kB / 0.6406 GB, free: 11.85 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1946, allocations: 36.22 kB / 0.6407 GB, free: 11.81 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1946, allocations: 0 / 0.6407 GB, free: 11.81 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.1946, allocations: 0 / 0.6407 GB, free: 11.81 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1947, allocations: 0 / 0.6407 GB, free: 11.81 MB / 478.1 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.0006059/0.1953, allocations: 355.3 kB / 0.641 GB, free: 11.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.1953, allocations: 8.031 kB / 0.641 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.83e-05/0.1954, allocations: 8.844 kB / 0.641 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1957, allocations: 184.2 kB / 0.6412 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1957, allocations: 384 / 0.6412 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1958, allocations: 4.375 kB / 0.6412 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1959, allocations: 54.23 kB / 0.6412 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.196, allocations: 192 / 0.6412 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.196, allocations: 3.938 kB / 0.6412 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.196, allocations: 3.938 kB / 0.6412 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.601e-05/0.1961, allocations: 27.98 kB / 0.6413 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.1967, allocations: 264.8 kB / 0.6415 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.39e-05/0.1968, allocations: 34.5 kB / 0.6416 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/0.1968, allocations: 16.86 kB / 0.6416 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.1969, allocations: 0 / 0.6416 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.1969, allocations: 38.56 kB / 0.6416 GB, free: 10.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1969, allocations: 0 / 0.6416 GB, free: 10.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002635/0.1972, allocations: 73.84 kB / 0.6417 GB, free: 10.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.1973, allocations: 51.41 kB / 0.6417 GB, free: 10.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.1974, allocations: 137.1 kB / 0.6419 GB, free: 10.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1974, allocations: 25.7 kB / 0.6419 GB, free: 10.35 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.1975, allocations: 88.08 kB / 0.642 GB, free: 10.26 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.1976, allocations: 15.89 kB / 0.642 GB, free: 10.24 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.1976, allocations: 9.719 kB / 0.642 GB, free: 10.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1977, allocations: 322.8 kB / 0.6423 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.1978, allocations: 19.98 kB / 0.6423 GB, free: 9.883 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.1978, allocations: 33.7 kB / 0.6424 GB, free: 9.844 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.97e-05/0.1979, allocations: 53.64 kB / 0.6424 GB, free: 9.785 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.198, allocations: 3.938 kB / 0.6424 GB, free: 9.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000249/0.1982, allocations: 98.48 kB / 0.6425 GB, free: 9.676 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1982, allocations: 4 kB / 0.6425 GB, free: 9.672 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1983, allocations: 7.984 kB / 0.6425 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/0.1984, allocations: 24.78 kB / 0.6425 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.1985, allocations: 11.98 kB / 0.6425 GB, free: 9.625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.2, allocations: 1.298 MB / 0.6438 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.2, allocations: 7.938 kB / 0.6438 GB, free: 8.184 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.2, allocations: 4 kB / 0.6438 GB, free: 8.18 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (table.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.2002, allocations: 119.5 kB / 0.6439 GB, free: 8.055 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.2002, allocations: 0 / 0.6439 GB, free: 8.055 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.2003, allocations: 74.94 kB / 0.644 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2004, allocations: 0 / 0.644 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.2004, allocations: 7.938 kB / 0.644 GB, free: 7.969 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2004, allocations: 0 / 0.644 GB, free: 7.969 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.2006, allocations: 169.6 kB / 0.6442 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2006, allocations: 0 / 0.6442 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.2006, allocations: 7.938 kB / 0.6442 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2006, allocations: 0 / 0.6442 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2006, allocations: 4 kB / 0.6442 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2006, allocations: 0 / 0.6442 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2007, allocations: 3.938 kB / 0.6442 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.2008, allocations: 167.4 kB / 0.6444 GB, free: 7.559 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.2009, allocations: 81.16 kB / 0.6444 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.2009, allocations: 0 / 0.6444 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.201, allocations: 4 kB / 0.6444 GB, free: 7.457 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.201, allocations: 7.922 kB / 0.6444 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.201, allocations: 7.984 kB / 0.6445 GB, free: 7.441 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.2011, allocations: 103.3 kB / 0.6446 GB, free: 7.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2011, allocations: 0 / 0.6446 GB, free: 7.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.2014, allocations: 8 kB / 0.6446 GB, free: 7.332 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (table.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003958/0.2018, allocations: 136.8 kB / 0.6447 GB, free: 7.207 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.2022, allocations: 162.6 kB / 0.6448 GB, free: 7.035 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2022, allocations: 0 / 0.6448 GB, free: 7.035 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.2022, allocations: 8 kB / 0.6449 GB, free: 7.027 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.2025, allocations: 8 kB / 0.6449 GB, free: 7.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.2028, allocations: 177 kB / 0.645 GB, free: 6.812 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.2031, allocations: 0.6926 MB / 0.6457 GB, free: 6.094 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.2031, allocations: 11.44 kB / 0.6457 GB, free: 6.082 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2031, allocations: 0 / 0.6457 GB, free: 6.082 MB / 478.1 MB Notification: Performance of Templates: time 0.003316/0.2065, allocations: 1.149 MB / 0.6468 GB, free: 4.941 MB / 478.1 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe 2>&1)