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.01215/0.01215, allocations: 1.434 MB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1134/0.1134, allocations: 22.37 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.001129/0.001129, allocations: 112 kB / 48.66 MB, free: 240 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.001266/0.001266, allocations: 196.7 kB / 56.25 MB, free: 3.52 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.373/1.373, allocations: 222.9 MB / 286.6 MB, free: 1.148 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8797/0.8797, allocations: 127.8 MB / 471.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 127.8 kB / 0.636 GB, free: 11.16 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1437, allocations: 82.34 MB / 0.7164 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testTableGain): time 0.003431/0.1472, allocations: 2.342 MB / 0.7186 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009125/0.1481, allocations: 0.4989 MB / 0.7191 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.688e-05/0.1482, allocations: 4 kB / 0.7191 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1485, allocations: 91.62 kB / 0.7192 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.1488, allocations: 79.67 kB / 0.7193 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.1493, allocations: 198.6 kB / 0.7195 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1495, allocations: 155.6 kB / 0.7196 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1496, allocations: 29.55 kB / 0.7197 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.713e-05/0.1497, allocations: 59.75 kB / 0.7197 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1499, allocations: 83.67 kB / 0.7198 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.1499, allocations: 8 kB / 0.7198 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.73e-05/0.15, allocations: 27.94 kB / 0.7198 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.1501, allocations: 47.83 kB / 0.7199 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.379e-05/0.1501, allocations: 59.55 kB / 0.7199 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1504, allocations: 167.4 kB / 0.7201 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1504, allocations: 0 / 0.7201 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1504, allocations: 4 kB / 0.7201 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.1504, allocations: 0 / 0.7201 GB, free: 4.906 MB / 0.5294 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.0005753/0.151, allocations: 486.3 kB / 0.7206 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.151, allocations: 8.031 kB / 0.7206 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.1511, allocations: 24.73 kB / 0.7206 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1513, allocations: 258.7 kB / 0.7208 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.1514, allocations: 384 / 0.7208 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1514, allocations: 4.375 kB / 0.7209 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.1516, allocations: 85.72 kB / 0.7209 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1516, allocations: 0 / 0.7209 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1516, allocations: 4 kB / 0.7209 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1516, allocations: 4 kB / 0.7209 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.1519, allocations: 55.95 kB / 0.721 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.1524, allocations: 376.7 kB / 0.7214 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1526, allocations: 82.59 kB / 0.7214 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1527, allocations: 32.83 kB / 0.7215 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1528, allocations: 7.984 kB / 0.7215 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1528, allocations: 46.59 kB / 0.7215 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1528, allocations: 0 / 0.7215 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0004271/0.1532, allocations: 141.3 kB / 0.7217 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.1533, allocations: 51.41 kB / 0.7217 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.1536, allocations: 304.9 kB / 0.722 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1536, allocations: 29.7 kB / 0.722 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.1537, allocations: 128 kB / 0.7221 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.1537, allocations: 19.8 kB / 0.7222 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.1537, allocations: 17.72 kB / 0.7222 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.1539, allocations: 330.8 kB / 0.7225 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.154, allocations: 27.97 kB / 0.7225 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.502e-05/0.1541, allocations: 31.97 kB / 0.7225 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.1543, allocations: 72.75 kB / 0.7226 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1543, allocations: 4 kB / 0.7226 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002709/0.1546, allocations: 109.5 kB / 0.7227 GB, free: 2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1546, allocations: 4 kB / 0.7227 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1546, allocations: 0 / 0.7227 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1546, allocations: 0 / 0.7227 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1547, allocations: 15.98 kB / 0.7227 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1547, allocations: 0 / 0.7227 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.1548, allocations: 15.92 kB / 0.7228 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1548, allocations: 3.938 kB / 0.7228 GB, free: 1.961 MB / 0.5294 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.0001027/0.1549, allocations: 145.6 kB / 0.7229 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.155, allocations: 23.72 kB / 0.7229 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.1553, allocations: 118.9 kB / 0.723 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1553, allocations: 0 / 0.723 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1553, allocations: 0.5 kB / 0.723 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.1554, allocations: 96.91 kB / 0.7231 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.1554, allocations: 7.938 kB / 0.7231 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.1555, allocations: 12 kB / 0.7232 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.1556, allocations: 3.984 kB / 0.7232 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002976/0.1559, allocations: 184.8 kB / 0.7233 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003149/0.1562, allocations: 286.6 kB / 0.7236 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001107/0.1563, allocations: 39.91 kB / 0.7236 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001954/0.1565, allocations: 220.5 kB / 0.7239 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of Backend: time 3.01e-07/0.1565, allocations: 0 / 0.7239 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.1578, allocations: 447.2 kB / 0.7243 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0007633/0.1586, allocations: 0.758 MB / 0.725 GB, free: 15.71 MB / 0.545 GB Notification: Performance of Templates: time 0.004945/0.1635, allocations: 2.053 MB / 0.727 GB, free: 13.67 MB / 0.545 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