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/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.testTableGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_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="CPUtime|EventCounter|Time|_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/SMArtIInt 0.2.2-main/package.mo): time 0.009286/0.009286, allocations: 1.438 MB / 17.75 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1181/0.1181, allocations: 22.38 MB / 41.16 MB, free: 7.762 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 100 kB / 48.65 MB, free: 252 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 193.9 kB / 56.26 MB, free: 9.457 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.356/1.356, allocations: 222.9 MB / 286.6 MB, free: 13.94 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8506/0.8506, allocations: 127.8 MB / 471.3 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 135.8 kB / 0.636 GB, free: 13.19 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3839, allocations: 82.34 MB / 0.7164 GB, free: 9.684 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testTableGain): time 0.003508/0.3875, allocations: 2.34 MB / 0.7187 GB, free: 7.887 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0008181/0.3883, allocations: 0.4941 MB / 0.7191 GB, free: 7.504 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.3884, allocations: 5.375 kB / 0.7191 GB, free: 7.5 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.3887, allocations: 82.92 kB / 0.7192 GB, free: 7.453 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.3889, allocations: 92.03 kB / 0.7193 GB, free: 7.391 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.3894, allocations: 190.2 kB / 0.7195 GB, free: 7.266 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.3897, allocations: 158 kB / 0.7196 GB, free: 7.172 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3898, allocations: 27.66 kB / 0.7197 GB, free: 7.156 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.3899, allocations: 60.09 kB / 0.7197 GB, free: 7.121 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.39, allocations: 81.59 kB / 0.7198 GB, free: 7.074 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.3901, allocations: 10.98 kB / 0.7198 GB, free: 7.07 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 8.389e-05/0.3901, allocations: 34.73 kB / 0.7198 GB, free: 7.059 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 7.579e-05/0.3902, allocations: 49.88 kB / 0.7199 GB, free: 7.027 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.3903, allocations: 57.92 kB / 0.72 GB, free: 6.98 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.3906, allocations: 174.7 kB / 0.7201 GB, free: 6.863 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3906, allocations: 0 / 0.7201 GB, free: 6.863 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3906, allocations: 1.375 kB / 0.7201 GB, free: 6.863 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3906, allocations: 3.938 kB / 0.7201 GB, free: 6.859 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005998/0.3912, allocations: 489.1 kB / 0.7206 GB, free: 6.383 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3912, allocations: 9.625 kB / 0.7206 GB, free: 6.383 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.3913, allocations: 17.09 kB / 0.7206 GB, free: 6.375 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.3916, allocations: 261.2 kB / 0.7209 GB, free: 6.109 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.3916, allocations: 7.125 kB / 0.7209 GB, free: 6.105 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.3916, allocations: 3.125 kB / 0.7209 GB, free: 6.105 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.3918, allocations: 78.22 kB / 0.7209 GB, free: 6.047 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3918, allocations: 0 / 0.7209 GB, free: 6.047 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3918, allocations: 1.312 kB / 0.7209 GB, free: 6.047 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3919, allocations: 1.562 kB / 0.721 GB, free: 6.047 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.3921, allocations: 72.22 kB / 0.721 GB, free: 6.008 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.3927, allocations: 375.9 kB / 0.7214 GB, free: 5.652 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.3929, allocations: 83.09 kB / 0.7215 GB, free: 5.598 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.393, allocations: 38.23 kB / 0.7215 GB, free: 5.574 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.393, allocations: 5.25 kB / 0.7215 GB, free: 5.57 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3931, allocations: 35.59 kB / 0.7215 GB, free: 5.527 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3931, allocations: 0 / 0.7215 GB, free: 5.527 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5): time 0.0004385/0.3935, allocations: 133.2 kB / 0.7217 GB, free: 5.449 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.3936, allocations: 52.75 kB / 0.7217 GB, free: 5.387 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.3939, allocations: 302.8 kB / 0.722 GB, free: 5.199 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3939, allocations: 29.7 kB / 0.722 GB, free: 5.164 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.394, allocations: 134 kB / 0.7222 GB, free: 5.039 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.394, allocations: 22.08 kB / 0.7222 GB, free: 5.02 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.3941, allocations: 18.12 kB / 0.7222 GB, free: 5 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3942, allocations: 336.8 kB / 0.7225 GB, free: 4.668 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3943, allocations: 27 kB / 0.7225 GB, free: 4.656 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.3944, allocations: 32.67 kB / 0.7226 GB, free: 4.641 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.3946, allocations: 69.98 kB / 0.7226 GB, free: 4.602 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3947, allocations: 384 / 0.7226 GB, free: 4.602 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000254/0.3949, allocations: 110.9 kB / 0.7227 GB, free: 4.531 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3949, allocations: 7.531 kB / 0.7228 GB, free: 4.531 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3949, allocations: 0 / 0.7228 GB, free: 4.531 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.395, allocations: 1.375 kB / 0.7228 GB, free: 4.531 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3951, allocations: 25.55 kB / 0.7228 GB, free: 4.516 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3951, allocations: 0 / 0.7228 GB, free: 4.516 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.3952, allocations: 8.062 kB / 0.7228 GB, free: 4.512 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3952, allocations: 1.375 kB / 0.7228 GB, free: 4.512 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.3953, allocations: 143.7 kB / 0.7229 GB, free: 4.379 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.3953, allocations: 20.11 kB / 0.7229 GB, free: 4.367 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.3957, allocations: 133.7 kB / 0.7231 GB, free: 4.273 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3957, allocations: 0 / 0.7231 GB, free: 4.273 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3957, allocations: 1.375 kB / 0.7231 GB, free: 4.273 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.3957, allocations: 90.52 kB / 0.7232 GB, free: 4.172 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.3958, allocations: 3.938 kB / 0.7232 GB, free: 4.168 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.3959, allocations: 12.11 kB / 0.7232 GB, free: 4.16 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.3959, allocations: 10.69 kB / 0.7232 GB, free: 4.152 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002923/0.3962, allocations: 185.3 kB / 0.7234 GB, free: 4.004 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003105/0.3965, allocations: 284.7 kB / 0.7236 GB, free: 3.754 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001124/0.3967, allocations: 42.34 kB / 0.7237 GB, free: 3.73 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0002099/0.3969, allocations: 224.7 kB / 0.7239 GB, free: 3.594 MB / 0.5138 GB Notification: Performance of Backend: time 4.51e-07/0.3969, allocations: 0 / 0.7239 GB, free: 3.594 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.3982, allocations: 437.8 kB / 0.7243 GB, free: 3.402 MB / 0.5138 GB Notification: Performance of SimCode: time 0.0007902/0.399, allocations: 0.763 MB / 0.725 GB, free: 2.703 MB / 0.5138 GB Notification: Performance of Templates: time 0.005025/0.404, allocations: 2.058 MB / 0.7271 GB, free: 1.668 MB / 0.5138 GB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testTableGain.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches