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.0192/0.0192, allocations: 1.409 MB / 16.39 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1351/0.1351, allocations: 22.6 MB / 40 MB, free: 1.164 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.0008373/0.0008373, allocations: 92.27 kB / 47.72 MB, free: 2.453 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.001127/0.001127, allocations: 179.4 kB / 55.58 MB, free: 6.234 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.554/1.554, allocations: 223.3 MB / 286.6 MB, free: 14.76 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.035/1.035, allocations: 127.7 MB / 472.4 MB, free: 0.832 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005135/0.0005136, allocations: 16 kB / 0.556 GB, free: 17.55 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2045, allocations: 83.88 MB / 0.6379 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.001486/0.206, allocations: 0.9201 MB / 0.6388 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004516/0.2065, allocations: 143.6 kB / 0.639 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.2065, allocations: 0 / 0.639 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.2067, allocations: 27.95 kB / 0.639 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.786e-05/0.2068, allocations: 11.92 kB / 0.639 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.207, allocations: 23.98 kB / 0.639 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.2071, allocations: 47.83 kB / 0.6391 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.2072, allocations: 7.938 kB / 0.6391 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.2073, allocations: 19.92 kB / 0.6391 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.2074, allocations: 19.92 kB / 0.6391 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.2074, allocations: 4 kB / 0.6391 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.225e-05/0.2075, allocations: 7.984 kB / 0.6391 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.2075, allocations: 11.98 kB / 0.6391 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.2075, allocations: 33.64 kB / 0.6392 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.81e-05/0.2076, allocations: 36.17 kB / 0.6392 GB, free: 12.36 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2077, allocations: 4 kB / 0.6392 GB, free: 12.36 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2077, allocations: 0 / 0.6392 GB, free: 12.36 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2077, allocations: 0 / 0.6392 GB, free: 12.36 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.0004589/0.2081, allocations: 357.7 kB / 0.6395 GB, free: 11.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2082, allocations: 8.031 kB / 0.6396 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.2082, allocations: 11.86 kB / 0.6396 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.2084, allocations: 179 kB / 0.6397 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.2084, allocations: 4 kB / 0.6397 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.2085, allocations: 0 / 0.6397 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.2086, allocations: 61.61 kB / 0.6398 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2086, allocations: 4 kB / 0.6398 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2086, allocations: 0 / 0.6398 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2086, allocations: 0 / 0.6398 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.67e-05/0.2087, allocations: 27.94 kB / 0.6398 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.2091, allocations: 261 kB / 0.6401 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.887e-05/0.2092, allocations: 30.56 kB / 0.6401 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.2092, allocations: 20.8 kB / 0.6401 GB, free: 11.26 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2092, allocations: 0 / 0.6401 GB, free: 11.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.2093, allocations: 38.64 kB / 0.6402 GB, free: 11.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.2093, allocations: 0 / 0.6402 GB, free: 11.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001881/0.2095, allocations: 73.55 kB / 0.6402 GB, free: 11.13 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.2095, allocations: 55.34 kB / 0.6403 GB, free: 11.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.2096, allocations: 130.1 kB / 0.6404 GB, free: 10.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.2097, allocations: 25.7 kB / 0.6404 GB, free: 10.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.2097, allocations: 104 kB / 0.6405 GB, free: 10.79 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.2098, allocations: 3.906 kB / 0.6405 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.2098, allocations: 4 kB / 0.6405 GB, free: 10.78 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2099, allocations: 314.8 kB / 0.6408 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.2099, allocations: 23.92 kB / 0.6409 GB, free: 10.44 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.21, allocations: 29.7 kB / 0.6409 GB, free: 10.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.689e-05/0.21, allocations: 24 kB / 0.6409 GB, free: 10.38 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.21, allocations: 4 kB / 0.6409 GB, free: 10.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001972/0.2102, allocations: 98.38 kB / 0.641 GB, free: 10.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2103, allocations: 13.5 kB / 0.641 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2103, allocations: 7.938 kB / 0.641 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/0.2104, allocations: 20.84 kB / 0.6411 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.376e-05/0.2105, allocations: 4 kB / 0.6411 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.2117, allocations: 1.286 MB / 0.6423 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.2117, allocations: 4 kB / 0.6423 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.2117, allocations: 8.188 kB / 0.6423 GB, free: 8.789 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.2118, allocations: 123.3 kB / 0.6424 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.2119, allocations: 11.86 kB / 0.6425 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.664e-05/0.212, allocations: 65.59 kB / 0.6425 GB, free: 8.578 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.212, allocations: 3.984 kB / 0.6425 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.212, allocations: 0 / 0.6425 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.212, allocations: 0 / 0.6425 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.2122, allocations: 165.7 kB / 0.6427 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2122, allocations: 12 kB / 0.6427 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.2122, allocations: 0 / 0.6427 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2122, allocations: 0 / 0.6427 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2122, allocations: 11.94 kB / 0.6427 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2123, allocations: 0 / 0.6427 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2123, allocations: 0 / 0.6427 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.2124, allocations: 159.4 kB / 0.6429 GB, free: 8.168 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.2125, allocations: 81.11 kB / 0.6429 GB, free: 8.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.2125, allocations: 7.984 kB / 0.6429 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.2126, allocations: 3.953 kB / 0.6429 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.2126, allocations: 3.938 kB / 0.6429 GB, free: 8.055 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.2126, allocations: 4 kB / 0.6429 GB, free: 8.051 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.189e-05/0.2127, allocations: 99.27 kB / 0.643 GB, free: 7.953 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2127, allocations: 0 / 0.643 GB, free: 7.953 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.2129, allocations: 8 kB / 0.6431 GB, free: 7.945 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 (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.0002904/0.2132, allocations: 146.6 kB / 0.6432 GB, free: 7.812 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.2135, allocations: 158.5 kB / 0.6433 GB, free: 7.645 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2135, allocations: 0 / 0.6433 GB, free: 7.645 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.2135, allocations: 8 kB / 0.6434 GB, free: 7.637 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.2138, allocations: 15.98 kB / 0.6434 GB, free: 7.621 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.2141, allocations: 139.8 kB / 0.6435 GB, free: 7.453 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.2144, allocations: 0.6926 MB / 0.6442 GB, free: 6.734 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.776e-05/0.2144, allocations: 4.984 kB / 0.6442 GB, free: 6.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.2145, allocations: 11.44 kB / 0.6442 GB, free: 6.719 MB / 478.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2145, allocations: 0 / 0.6442 GB, free: 6.719 MB / 478.1 MB Notification: Performance of Templates: time 0.003454/0.2179, allocations: 0.8052 MB / 0.645 GB, free: 5.926 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) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches