Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.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.TestStepsmootherGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y|ramp1.duration|ramp1.height|ramp1.offset|ramp1.startTime|ramp1.y|ramp2.duration|ramp2.height|ramp2.offset|ramp2.startTime|ramp2.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|stepSmootherGain.func|stepSmootherGain.noFunc|stepSmootherGain.u|stepSmootherGain.x|stepSmootherGain.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y|ramp1.duration|ramp1.height|ramp1.offset|ramp1.startTime|ramp1.y|ramp2.duration|ramp2.height|ramp2.offset|ramp2.startTime|ramp2.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|stepSmootherGain.func|stepSmootherGain.noFunc|stepSmootherGain.u|stepSmootherGain.x|stepSmootherGain.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.0111/0.0111, allocations: 1.437 MB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1302/0.1302, allocations: 22.37 MB / 41.15 MB, free: 7.781 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.001114/0.001114, allocations: 100.1 kB / 48.65 MB, free: 268 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.001532/0.001532, allocations: 193 kB / 56.24 MB, free: 9.473 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.504/1.504, allocations: 222.9 MB / 286.6 MB, free: 13.95 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.221/1.221, allocations: 127.8 MB / 471.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003965/0.003965, allocations: 131.8 kB / 0.6359 GB, free: 13.2 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5493/0.5533, allocations: 82.35 MB / 0.7164 GB, free: 9.785 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.004012/0.5573, allocations: 2.168 MB / 0.7185 GB, free: 8.117 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.5587, allocations: 0.6274 MB / 0.7191 GB, free: 7.617 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.5588, allocations: 1.156 kB / 0.7191 GB, free: 7.617 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.5588, allocations: 7.922 kB / 0.7191 GB, free: 7.609 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 8.543e-05/0.5589, allocations: 14.19 kB / 0.7191 GB, free: 7.598 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.5594, allocations: 86.59 kB / 0.7192 GB, free: 7.535 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.5596, allocations: 86.73 kB / 0.7193 GB, free: 7.48 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.5597, allocations: 29.23 kB / 0.7193 GB, free: 7.461 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.5599, allocations: 33.55 kB / 0.7193 GB, free: 7.441 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.56, allocations: 41.89 kB / 0.7194 GB, free: 7.41 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.56, allocations: 7.938 kB / 0.7194 GB, free: 7.41 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.5603, allocations: 162.1 kB / 0.7195 GB, free: 7.316 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.5604, allocations: 17.52 kB / 0.7196 GB, free: 7.301 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.5604, allocations: 39.47 kB / 0.7196 GB, free: 7.27 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.5607, allocations: 142.1 kB / 0.7197 GB, free: 7.172 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5607, allocations: 0 / 0.7197 GB, free: 7.172 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5607, allocations: 0 / 0.7197 GB, free: 7.172 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5607, allocations: 1.906 kB / 0.7197 GB, free: 7.172 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007265/0.5614, allocations: 417.2 kB / 0.7201 GB, free: 6.762 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5615, allocations: 9.875 kB / 0.7201 GB, free: 6.762 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.5615, allocations: 10.88 kB / 0.7201 GB, free: 6.754 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.5617, allocations: 189.8 kB / 0.7203 GB, free: 6.535 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.5617, allocations: 1.719 kB / 0.7203 GB, free: 6.535 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.5618, allocations: 7.062 kB / 0.7203 GB, free: 6.531 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.5621, allocations: 103.3 kB / 0.7204 GB, free: 6.461 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5622, allocations: 0 / 0.7204 GB, free: 6.461 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.5622, allocations: 1.375 kB / 0.7204 GB, free: 6.461 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.5622, allocations: 1.375 kB / 0.7204 GB, free: 6.461 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.5627, allocations: 116.3 kB / 0.7205 GB, free: 6.406 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.5631, allocations: 302.8 kB / 0.7208 GB, free: 6.086 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.5634, allocations: 79.52 kB / 0.7209 GB, free: 6.031 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.5637, allocations: 64.58 kB / 0.721 GB, free: 5.996 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.5637, allocations: 1.375 kB / 0.721 GB, free: 5.996 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.5638, allocations: 34.56 kB / 0.721 GB, free: 5.953 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.5638, allocations: 1.375 kB / 0.721 GB, free: 5.953 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5): time 0.0008464/0.5646, allocations: 207 kB / 0.7212 GB, free: 5.84 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.5647, allocations: 51.41 kB / 0.7213 GB, free: 5.777 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.5648, allocations: 130.5 kB / 0.7214 GB, free: 5.66 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.5648, allocations: 27.08 kB / 0.7214 GB, free: 5.629 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.5649, allocations: 90.89 kB / 0.7215 GB, free: 5.539 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.5649, allocations: 18.48 kB / 0.7215 GB, free: 5.523 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.565, allocations: 17.84 kB / 0.7215 GB, free: 5.504 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5651, allocations: 332.1 kB / 0.7218 GB, free: 5.172 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.5654, allocations: 58.12 kB / 0.7219 GB, free: 5.145 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.5656, allocations: 57.95 kB / 0.722 GB, free: 5.117 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.566, allocations: 111.8 kB / 0.7221 GB, free: 5.062 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5661, allocations: 0.8438 kB / 0.7221 GB, free: 5.062 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005269/0.5666, allocations: 154.4 kB / 0.7222 GB, free: 4.973 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.5666, allocations: 4.469 kB / 0.7222 GB, free: 4.973 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5666, allocations: 0 / 0.7222 GB, free: 4.973 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5666, allocations: 1.375 kB / 0.7222 GB, free: 4.973 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.5668, allocations: 25.28 kB / 0.7222 GB, free: 4.965 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5669, allocations: 4.375 kB / 0.7222 GB, free: 4.961 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.567, allocations: 23.38 kB / 0.7223 GB, free: 4.949 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.567, allocations: 2.969 kB / 0.7223 GB, free: 4.949 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 8.961e-05/0.5671, allocations: 117 kB / 0.7224 GB, free: 4.828 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.5671, allocations: 12.17 kB / 0.7224 GB, free: 4.82 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006041/0.5677, allocations: 171.7 kB / 0.7226 GB, free: 4.707 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.5678, allocations: 0 / 0.7226 GB, free: 4.707 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5678, allocations: 1.469 kB / 0.7226 GB, free: 4.707 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5678, allocations: 0 / 0.7226 GB, free: 4.707 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.568, allocations: 200.5 kB / 0.7227 GB, free: 4.477 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.568, allocations: 0 / 0.7227 GB, free: 4.477 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.5682, allocations: 30.62 kB / 0.7228 GB, free: 4.465 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5682, allocations: 1.469 kB / 0.7228 GB, free: 4.465 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.5682, allocations: 0 / 0.7228 GB, free: 4.465 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5682, allocations: 5.531 kB / 0.7228 GB, free: 4.461 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5682, allocations: 3.984 kB / 0.7228 GB, free: 4.457 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.5688, allocations: 255.7 kB / 0.723 GB, free: 4.262 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.5689, allocations: 82.55 kB / 0.7231 GB, free: 4.164 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.5689, allocations: 1.438 kB / 0.7231 GB, free: 4.164 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.5691, allocations: 23.62 kB / 0.7231 GB, free: 4.152 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.5692, allocations: 10.94 kB / 0.7231 GB, free: 4.145 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.5692, allocations: 5.5 kB / 0.7232 GB, free: 4.141 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 7.827e-05/0.5693, allocations: 106.7 kB / 0.7233 GB, free: 4.051 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5693, allocations: 0 / 0.7233 GB, free: 4.051 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0003014/0.5696, allocations: 23.47 kB / 0.7233 GB, free: 4.043 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001782/0.5697, allocations: 106.7 kB / 0.7234 GB, free: 3.949 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.000544/0.5703, allocations: 119.1 kB / 0.7235 GB, free: 3.898 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5703, allocations: 9.688 kB / 0.7235 GB, free: 3.891 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.5706, allocations: 61.41 kB / 0.7236 GB, free: 3.867 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.5709, allocations: 15.44 kB / 0.7236 GB, free: 3.855 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.5714, allocations: 215 kB / 0.7238 GB, free: 3.66 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.5718, allocations: 0.6974 MB / 0.7245 GB, free: 2.949 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.5718, allocations: 16.22 kB / 0.7245 GB, free: 2.938 MB / 0.5138 GB Notification: Performance of SimCode: time 2.4e-07/0.5718, allocations: 0 / 0.7245 GB, free: 2.938 MB / 0.5138 GB Notification: Performance of Templates: time 0.003431/0.5753, allocations: 1.247 MB / 0.7257 GB, free: 2.305 MB / 0.5138 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches