Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/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 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) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testTableGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|product1.u1|product1.u2|product1.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|tableGain.columns.1.|tableGain.divide|tableGain.n|tableGain.smoothness|tableGain.tableOnFile|tableGain.table.1,1.|tableGain.table.1,2.|tableGain.table.2,1.|tableGain.table.2,2.|tableGain.table.3,1.|tableGain.table.3,2.|tableGain.u.1.|tableGain.y.1.|tableGain1.columns.1.|tableGain1.extrapolation|tableGain1.n|tableGain1.smoothness|tableGain1.tableOnFile|tableGain1.table.1,1.|tableGain1.table.1,2.|tableGain1.table.2,1.|tableGain1.table.2,2.|tableGain1.table.3,1.|tableGain1.table.3,2.|tableGain1.u.1.|tableGain1.u_max|tableGain1.u_min|tableGain1.verboseExtrapolation|tableGain1.verboseRead|tableGain1.y.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain") translateModel(ClaRa.Components.Utilities.Blocks.Check.testTableGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|product1.u1|product1.u2|product1.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|tableGain.columns.1.|tableGain.divide|tableGain.n|tableGain.smoothness|tableGain.tableOnFile|tableGain.table.1,1.|tableGain.table.1,2.|tableGain.table.2,1.|tableGain.table.2,2.|tableGain.table.3,1.|tableGain.table.3,2.|tableGain.u.1.|tableGain.y.1.|tableGain1.columns.1.|tableGain1.extrapolation|tableGain1.n|tableGain1.smoothness|tableGain1.tableOnFile|tableGain1.table.1,1.|tableGain1.table.1,2.|tableGain1.table.2,1.|tableGain1.table.2,2.|tableGain1.table.3,1.|tableGain1.table.3,2.|tableGain1.u.1.|tableGain1.u_max|tableGain1.u_min|tableGain1.verboseExtrapolation|tableGain1.verboseRead|tableGain1.y.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 239.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 105 kB / 289.9 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08514/0.08514, allocations: 20.12 MB / 360.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9647/0.9647, allocations: 126.3 MB / 0.5296 GB, free: 14.96 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001483, allocations: 87.88 kB / 0.6208 GB, free: 1.492 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3492, allocations: 81.16 MB / 0.7 GB, free: 33.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testTableGain): time 0.003108/0.3523, allocations: 2.395 MB / 0.7024 GB, free: 31.61 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007657/0.3531, allocations: 489.2 kB / 0.7028 GB, free: 31.29 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.3532, allocations: 1.156 kB / 0.7028 GB, free: 31.29 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.3535, allocations: 87.78 kB / 0.7029 GB, free: 31.27 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3536, allocations: 66.27 kB / 0.703 GB, free: 31.24 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.354, allocations: 126.2 kB / 0.7031 GB, free: 31.18 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.3542, allocations: 128.9 kB / 0.7032 GB, free: 31.13 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3543, allocations: 26.69 kB / 0.7033 GB, free: 31.12 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.3544, allocations: 53.02 kB / 0.7033 GB, free: 31.11 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.3546, allocations: 73.2 kB / 0.7034 GB, free: 31.08 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.3546, allocations: 4.281 kB / 0.7034 GB, free: 31.08 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.3547, allocations: 41.66 kB / 0.7034 GB, free: 31.07 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.3548, allocations: 48.34 kB / 0.7035 GB, free: 31.05 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.3549, allocations: 52.33 kB / 0.7035 GB, free: 31.01 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.3551, allocations: 169.8 kB / 0.7037 GB, free: 30.94 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3551, allocations: 1.828 kB / 0.7037 GB, free: 30.94 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3551, allocations: 2.656 kB / 0.7037 GB, free: 30.94 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3551, allocations: 0 / 0.7037 GB, free: 30.94 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005674/0.3557, allocations: 467.5 kB / 0.7041 GB, free: 30.51 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3558, allocations: 9.062 kB / 0.7041 GB, free: 30.51 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.3558, allocations: 21.69 kB / 0.7042 GB, free: 30.5 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.356, allocations: 255.3 kB / 0.7044 GB, free: 30.25 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3561, allocations: 7.094 kB / 0.7044 GB, free: 30.25 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.3561, allocations: 5.969 kB / 0.7044 GB, free: 30.25 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.3563, allocations: 92.36 kB / 0.7045 GB, free: 30.2 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3563, allocations: 1.062 kB / 0.7045 GB, free: 30.2 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3563, allocations: 1.156 kB / 0.7045 GB, free: 30.2 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3563, allocations: 1.312 kB / 0.7045 GB, free: 30.2 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.3566, allocations: 73.27 kB / 0.7046 GB, free: 30.18 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.3571, allocations: 381.6 kB / 0.7049 GB, free: 29.86 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.3574, allocations: 90.47 kB / 0.705 GB, free: 29.82 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3575, allocations: 46.06 kB / 0.7051 GB, free: 29.8 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.3575, allocations: 3.562 kB / 0.7051 GB, free: 29.8 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.3576, allocations: 37.75 kB / 0.7051 GB, free: 29.76 MB / 474.8 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3576, allocations: 0 / 0.7051 GB, free: 29.76 MB / 474.8 MB Notification: Performance of matching and sorting (n=6): time 0.000482/0.358, allocations: 182 kB / 0.7053 GB, free: 29.69 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.3581, allocations: 54.73 kB / 0.7053 GB, free: 29.62 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.3583, allocations: 261.8 kB / 0.7056 GB, free: 29.48 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.3583, allocations: 26.94 kB / 0.7056 GB, free: 29.45 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.3584, allocations: 135.5 kB / 0.7057 GB, free: 29.33 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.3584, allocations: 12.09 kB / 0.7058 GB, free: 29.32 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3585, allocations: 22.98 kB / 0.7058 GB, free: 29.3 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 5.051e-05/0.3585, allocations: 332.2 kB / 0.7061 GB, free: 28.98 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.3586, allocations: 38.48 kB / 0.7061 GB, free: 28.97 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.3588, allocations: 38.89 kB / 0.7062 GB, free: 28.96 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.359, allocations: 92.06 kB / 0.7063 GB, free: 28.93 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.359, allocations: 0 / 0.7063 GB, free: 28.93 MB / 474.8 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002621/0.3593, allocations: 129.5 kB / 0.7064 GB, free: 28.87 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3593, allocations: 6.375 kB / 0.7064 GB, free: 28.87 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3593, allocations: 0.7031 kB / 0.7064 GB, free: 28.87 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3593, allocations: 1.562 kB / 0.7064 GB, free: 28.87 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.3594, allocations: 15.48 kB / 0.7064 GB, free: 28.87 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3594, allocations: 3.141 kB / 0.7064 GB, free: 28.87 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.3595, allocations: 9.328 kB / 0.7064 GB, free: 28.87 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3595, allocations: 7 kB / 0.7064 GB, free: 28.86 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (tableGain.table_block.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): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.711e-05/0.3596, allocations: 145.4 kB / 0.7066 GB, free: 28.74 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.3596, allocations: 18.69 kB / 0.7066 GB, free: 28.73 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.36, allocations: 163.9 kB / 0.7067 GB, free: 28.66 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.36, allocations: 0 / 0.7067 GB, free: 28.66 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.36, allocations: 1.766 kB / 0.7067 GB, free: 28.66 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.36, allocations: 0 / 0.7067 GB, free: 28.66 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.3602, allocations: 225.7 kB / 0.707 GB, free: 28.44 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3602, allocations: 0 / 0.707 GB, free: 28.44 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.3603, allocations: 19 kB / 0.707 GB, free: 28.44 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3603, allocations: 0 / 0.707 GB, free: 28.44 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3603, allocations: 1.906 kB / 0.707 GB, free: 28.44 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3603, allocations: 0 / 0.707 GB, free: 28.44 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3603, allocations: 0 / 0.707 GB, free: 28.44 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.3609, allocations: 0.8628 MB / 0.7078 GB, free: 27.67 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.3609, allocations: 92.94 kB / 0.7079 GB, free: 27.57 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.361, allocations: 9.562 kB / 0.7079 GB, free: 27.56 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.3611, allocations: 7.797 kB / 0.7079 GB, free: 27.56 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.3611, allocations: 9.875 kB / 0.7079 GB, free: 27.55 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3611, allocations: 4.188 kB / 0.7079 GB, free: 27.55 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0001455/0.3613, allocations: 195.2 kB / 0.7081 GB, free: 27.43 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3613, allocations: 4.938 kB / 0.7081 GB, free: 27.43 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000353/0.3616, allocations: 24.53 kB / 0.7082 GB, free: 27.42 MB / 474.8 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 (tableGain.table_block.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0008122/0.3625, allocations: 383.3 kB / 0.7085 GB, free: 27.28 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.3627, allocations: 90.25 kB / 0.7086 GB, free: 27.24 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3627, allocations: 1.406 kB / 0.7086 GB, free: 27.24 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.3629, allocations: 47.75 kB / 0.7086 GB, free: 27.22 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.3633, allocations: 33.58 kB / 0.7087 GB, free: 27.2 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.3638, allocations: 481.2 kB / 0.7091 GB, free: 26.82 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.3639, allocations: 0.7331 MB / 0.7099 GB, free: 26.09 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 7.12e-05/0.364, allocations: 25.11 kB / 0.7099 GB, free: 26.08 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.3641, allocations: 20.92 kB / 0.7099 GB, free: 26.07 MB / 474.8 MB Notification: Performance of SimCode: time 2.3e-07/0.3641, allocations: 2.312 kB / 0.7099 GB, free: 26.07 MB / 474.8 MB Notification: Performance of Templates: time 0.003875/0.3679, allocations: 1.809 MB / 0.7117 GB, free: 25.21 MB / 474.8 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testTableGain.mat","../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches