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.02068/0.02068, allocations: 1.434 MB / 16.55 MB, free: 5.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1299/0.1299, allocations: 22.38 MB / 39.95 MB, free: 0.9102 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.001145/0.001145, allocations: 118.6 kB / 47.43 MB, free: 2.527 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.001615/0.001615, allocations: 191.5 kB / 55 MB, free: 6.586 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.491/1.491, allocations: 222.9 MB / 285.3 MB, free: 1.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9042/0.9042, allocations: 127.8 MB / 469.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 123.4 kB / 0.5526 GB, free: 43.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1908, allocations: 82.36 MB / 0.633 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.002787/0.1936, allocations: 1.364 MB / 0.6343 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004309/0.1941, allocations: 147.5 kB / 0.6345 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.1941, allocations: 0 / 0.6345 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.1943, allocations: 19.97 kB / 0.6345 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.247e-05/0.1944, allocations: 23.91 kB / 0.6345 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1946, allocations: 31.97 kB / 0.6345 GB, free: 11.83 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1948, allocations: 43.84 kB / 0.6346 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.1949, allocations: 7.984 kB / 0.6346 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.705e-05/0.1949, allocations: 23.86 kB / 0.6346 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.195, allocations: 19.92 kB / 0.6346 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.1951, allocations: 0 / 0.6346 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.576e-05/0.1951, allocations: 12 kB / 0.6346 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.1952, allocations: 11.97 kB / 0.6346 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.1952, allocations: 15.88 kB / 0.6347 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.1954, allocations: 52.09 kB / 0.6347 GB, free: 11.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1954, allocations: 4 kB / 0.6347 GB, free: 11.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1954, allocations: 0 / 0.6347 GB, free: 11.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1954, allocations: 0 / 0.6347 GB, free: 11.64 MB / 462.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.0005643/0.196, allocations: 359.3 kB / 0.6351 GB, free: 11.24 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.196, allocations: 8.031 kB / 0.6351 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.1961, allocations: 8.844 kB / 0.6351 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.1963, allocations: 188.2 kB / 0.6352 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1963, allocations: 384 / 0.6352 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.1964, allocations: 4.312 kB / 0.6353 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1965, allocations: 62.19 kB / 0.6353 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.1965, allocations: 192 / 0.6353 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1966, allocations: 3.938 kB / 0.6353 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1966, allocations: 0 / 0.6353 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.529e-05/0.1966, allocations: 19.98 kB / 0.6353 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.1971, allocations: 269 kB / 0.6356 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.369e-05/0.1971, allocations: 30.45 kB / 0.6356 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.1972, allocations: 20.95 kB / 0.6356 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1972, allocations: 3.984 kB / 0.6356 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1972, allocations: 34.5 kB / 0.6357 GB, free: 10.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1972, allocations: 0 / 0.6357 GB, free: 10.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001974/0.1974, allocations: 73.59 kB / 0.6357 GB, free: 10.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.1975, allocations: 51.41 kB / 0.6358 GB, free: 10.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1976, allocations: 128.9 kB / 0.6359 GB, free: 10.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1977, allocations: 33.7 kB / 0.636 GB, free: 10.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.1977, allocations: 99.97 kB / 0.636 GB, free: 10.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.1978, allocations: 11.84 kB / 0.6361 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.1978, allocations: 17.72 kB / 0.6361 GB, free: 10.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1979, allocations: 322.8 kB / 0.6364 GB, free: 9.711 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/0.198, allocations: 23.98 kB / 0.6364 GB, free: 9.688 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.192e-05/0.198, allocations: 25.72 kB / 0.6364 GB, free: 9.656 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.514e-05/0.1981, allocations: 49.7 kB / 0.6365 GB, free: 9.602 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1981, allocations: 7.938 kB / 0.6365 GB, free: 9.594 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000241/0.1984, allocations: 106.4 kB / 0.6366 GB, free: 9.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1984, allocations: 4 kB / 0.6366 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1984, allocations: 0 / 0.6366 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.1986, allocations: 17.03 kB / 0.6366 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.1986, allocations: 11.94 kB / 0.6366 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.1999, allocations: 1.298 MB / 0.6379 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.2, allocations: 4 kB / 0.6379 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.2, allocations: 4.031 kB / 0.6379 GB, free: 8.004 MB / 462.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 9.598e-05/0.2001, allocations: 119.6 kB / 0.638 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.2001, allocations: 7.906 kB / 0.638 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.2002, allocations: 73.52 kB / 0.6381 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2002, allocations: 0 / 0.6381 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2002, allocations: 7.875 kB / 0.6381 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2003, allocations: 4 kB / 0.6381 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.2004, allocations: 165.7 kB / 0.6383 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2004, allocations: 8 kB / 0.6383 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.2005, allocations: 0 / 0.6383 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.2005, allocations: 3.984 kB / 0.6383 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2005, allocations: 4 kB / 0.6383 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2005, allocations: 0 / 0.6383 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2005, allocations: 3.938 kB / 0.6383 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.2007, allocations: 155.5 kB / 0.6384 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.2007, allocations: 85.02 kB / 0.6385 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.2007, allocations: 7.922 kB / 0.6385 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.2008, allocations: 0 / 0.6385 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.2008, allocations: 7.875 kB / 0.6385 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.2008, allocations: 4.141 kB / 0.6385 GB, free: 7.262 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.741e-05/0.2009, allocations: 95.27 kB / 0.6386 GB, free: 7.168 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2009, allocations: 0 / 0.6386 GB, free: 7.168 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.2012, allocations: 12 kB / 0.6386 GB, free: 7.156 MB / 462.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.0003143/0.2015, allocations: 144.1 kB / 0.6388 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.2018, allocations: 150.7 kB / 0.6389 GB, free: 6.867 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2018, allocations: 0 / 0.6389 GB, free: 6.867 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.2018, allocations: 15.94 kB / 0.6389 GB, free: 6.852 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.2021, allocations: 10.8 kB / 0.6389 GB, free: 6.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.2024, allocations: 159.2 kB / 0.6391 GB, free: 6.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.2027, allocations: 0.6897 MB / 0.6398 GB, free: 5.945 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.688e-05/0.2028, allocations: 4 kB / 0.6398 GB, free: 5.941 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.2028, allocations: 11.44 kB / 0.6398 GB, free: 5.93 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2028, allocations: 0 / 0.6398 GB, free: 5.93 MB / 462.1 MB Notification: Performance of Templates: time 0.003564/0.2064, allocations: 0.8369 MB / 0.6406 GB, free: 5.109 MB / 462.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=50 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.mat","/var/lib/jenkins1/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