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.02246/0.02246, allocations: 1.414 MB / 16.69 MB, free: 4.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1411/0.1411, allocations: 22.59 MB / 40.31 MB, free: 1.047 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.0008626/0.0008626, allocations: 91.84 kB / 48.06 MB, free: 2.414 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.0009656/0.0009653, allocations: 170.5 kB / 55.92 MB, free: 3.98 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.3 MB / 286.9 MB, free: 2.625 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.005/1.005, allocations: 127.7 MB / 472.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005761/0.0005763, allocations: 17.97 kB / 0.5567 GB, free: 42.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1984, allocations: 83.87 MB / 0.6386 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.001584/0.2, allocations: 1.018 MB / 0.6396 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004653/0.2005, allocations: 147.5 kB / 0.6398 GB, free: 9.809 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.2006, allocations: 0 / 0.6398 GB, free: 9.809 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.2008, allocations: 27.91 kB / 0.6398 GB, free: 9.781 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.2008, allocations: 11.98 kB / 0.6398 GB, free: 9.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.2011, allocations: 31.89 kB / 0.6398 GB, free: 9.738 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.2012, allocations: 51.73 kB / 0.6399 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.056e-05/0.2013, allocations: 11.92 kB / 0.6399 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/0.2014, allocations: 19.92 kB / 0.6399 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.2015, allocations: 27.84 kB / 0.6399 GB, free: 9.633 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.2015, allocations: 0 / 0.6399 GB, free: 9.633 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.977e-05/0.2016, allocations: 12 kB / 0.6399 GB, free: 9.621 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.2016, allocations: 11.98 kB / 0.64 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.2017, allocations: 41.58 kB / 0.64 GB, free: 9.562 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.2018, allocations: 43.81 kB / 0.64 GB, free: 9.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2018, allocations: 0 / 0.64 GB, free: 9.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.921e-06/0.2019, allocations: 4 kB / 0.64 GB, free: 9.516 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2019, allocations: 7.938 kB / 0.64 GB, free: 9.508 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.0004944/0.2024, allocations: 351.3 kB / 0.6404 GB, free: 9.113 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2024, allocations: 8.031 kB / 0.6404 GB, free: 9.105 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.2025, allocations: 4.938 kB / 0.6404 GB, free: 9.102 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.2027, allocations: 184.3 kB / 0.6406 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.2027, allocations: 8.312 kB / 0.6406 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.2027, allocations: 384 / 0.6406 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2028, allocations: 58.23 kB / 0.6406 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2029, allocations: 192 / 0.6406 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.2029, allocations: 7.938 kB / 0.6406 GB, free: 8.805 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2029, allocations: 0 / 0.6406 GB, free: 8.805 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/0.203, allocations: 19.98 kB / 0.6407 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.2034, allocations: 268.8 kB / 0.6409 GB, free: 8.473 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.791e-05/0.2035, allocations: 34.5 kB / 0.6409 GB, free: 8.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.2035, allocations: 16.86 kB / 0.641 GB, free: 8.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.2035, allocations: 0 / 0.641 GB, free: 8.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.2036, allocations: 38.64 kB / 0.641 GB, free: 8.363 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2036, allocations: 0 / 0.641 GB, free: 8.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002016/0.2038, allocations: 69.62 kB / 0.6411 GB, free: 8.289 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.2038, allocations: 51.41 kB / 0.6411 GB, free: 8.227 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.204, allocations: 130.1 kB / 0.6412 GB, free: 8.086 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.204, allocations: 25.7 kB / 0.6413 GB, free: 8.055 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.2041, allocations: 104 kB / 0.6414 GB, free: 7.949 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.2041, allocations: 7.906 kB / 0.6414 GB, free: 7.941 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.2041, allocations: 13.72 kB / 0.6414 GB, free: 7.922 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2043, allocations: 322.8 kB / 0.6417 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.2043, allocations: 16 kB / 0.6417 GB, free: 7.582 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.2043, allocations: 29.7 kB / 0.6417 GB, free: 7.547 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.289e-05/0.2044, allocations: 57.64 kB / 0.6418 GB, free: 7.484 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2044, allocations: 3.938 kB / 0.6418 GB, free: 7.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000245/0.2047, allocations: 102.4 kB / 0.6419 GB, free: 7.371 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2047, allocations: 4 kB / 0.6419 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2047, allocations: 0 / 0.6419 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/0.2049, allocations: 16.84 kB / 0.6419 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.205, allocations: 15.92 kB / 0.6419 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.2063, allocations: 1.3 MB / 0.6432 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.2063, allocations: 8.125 kB / 0.6432 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2063, allocations: 8.031 kB / 0.6432 GB, free: 5.883 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 0.000105/0.2065, allocations: 123.5 kB / 0.6433 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.2065, allocations: 4 kB / 0.6433 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.2066, allocations: 69.58 kB / 0.6434 GB, free: 5.676 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2066, allocations: 3.938 kB / 0.6434 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.2066, allocations: 3.938 kB / 0.6434 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2066, allocations: 0 / 0.6434 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.2068, allocations: 177.6 kB / 0.6436 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2068, allocations: 0 / 0.6436 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-05/0.2068, allocations: 0 / 0.6436 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2069, allocations: 4 kB / 0.6436 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2069, allocations: 0 / 0.6436 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2069, allocations: 0 / 0.6436 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2069, allocations: 3.938 kB / 0.6436 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.207, allocations: 159.4 kB / 0.6437 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.2071, allocations: 89.02 kB / 0.6438 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.214e-06/0.2071, allocations: 4 kB / 0.6438 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.2072, allocations: 0 / 0.6438 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.2072, allocations: 11.92 kB / 0.6438 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.2072, allocations: 0 / 0.6438 GB, free: 5.145 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.647e-05/0.2073, allocations: 95.27 kB / 0.6439 GB, free: 5.051 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2073, allocations: 0 / 0.6439 GB, free: 5.051 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00024/0.2076, allocations: 16 kB / 0.6439 GB, free: 5.035 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.0003552/0.2079, allocations: 132.8 kB / 0.6441 GB, free: 4.914 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.2082, allocations: 158.6 kB / 0.6442 GB, free: 4.746 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2082, allocations: 0 / 0.6442 GB, free: 4.746 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.129e-05/0.2083, allocations: 12 kB / 0.6442 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.2086, allocations: 10.67 kB / 0.6442 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.2089, allocations: 151.3 kB / 0.6444 GB, free: 4.551 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.2092, allocations: 0.6887 MB / 0.6451 GB, free: 3.836 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.189e-05/0.2093, allocations: 3.984 kB / 0.6451 GB, free: 3.832 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.2093, allocations: 11.44 kB / 0.6451 GB, free: 3.82 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2093, allocations: 0 / 0.6451 GB, free: 3.82 MB / 462.1 MB Notification: Performance of Templates: time 0.00373/0.2131, allocations: 0.8275 MB / 0.6459 GB, free: 3.008 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=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