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.009783/0.009783, 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.1281/0.1281, 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.001213/0.001213, allocations: 102.7 kB / 48.64 MB, free: 272 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.001404/0.001403, allocations: 197.9 kB / 56.25 MB, free: 9.469 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.449/1.449, allocations: 222.9 MB / 286.6 MB, free: 13.96 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9789/0.9789, allocations: 127.8 MB / 471.2 MB, free: 0.582 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 123.8 kB / 0.6359 GB, free: 13.19 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5021, allocations: 82.34 MB / 0.7163 GB, free: 9.645 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003047/0.5052, allocations: 2.184 MB / 0.7185 GB, free: 7.957 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.5062, allocations: 0.6237 MB / 0.7191 GB, free: 7.461 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.5062, allocations: 1.469 kB / 0.7191 GB, free: 7.461 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.5063, allocations: 7.922 kB / 0.7191 GB, free: 7.453 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/0.5063, allocations: 17.3 kB / 0.7191 GB, free: 7.438 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.5067, allocations: 86.25 kB / 0.7192 GB, free: 7.375 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.5068, allocations: 83.83 kB / 0.7193 GB, free: 7.324 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.5069, allocations: 17.88 kB / 0.7193 GB, free: 7.316 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.507, allocations: 35.66 kB / 0.7193 GB, free: 7.293 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.5071, allocations: 47.84 kB / 0.7194 GB, free: 7.258 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.5071, allocations: 6.625 kB / 0.7194 GB, free: 7.258 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.5074, allocations: 159.2 kB / 0.7195 GB, free: 7.168 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.5074, allocations: 20.91 kB / 0.7196 GB, free: 7.148 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.5075, allocations: 35.8 kB / 0.7196 GB, free: 7.121 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.5077, allocations: 146.2 kB / 0.7197 GB, free: 7.02 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5077, allocations: 0 / 0.7197 GB, free: 7.02 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5077, allocations: 0 / 0.7197 GB, free: 7.02 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.5077, allocations: 0 / 0.7197 GB, free: 7.02 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.0006508/0.5084, allocations: 418.5 kB / 0.7201 GB, free: 6.609 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.5084, allocations: 8.719 kB / 0.7201 GB, free: 6.609 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.5084, allocations: 9.438 kB / 0.7201 GB, free: 6.605 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.5086, allocations: 185.2 kB / 0.7203 GB, free: 6.391 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.5086, allocations: 1.656 kB / 0.7203 GB, free: 6.391 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.5086, allocations: 6.594 kB / 0.7203 GB, free: 6.387 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.509, allocations: 103.6 kB / 0.7204 GB, free: 6.316 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.509, allocations: 0 / 0.7204 GB, free: 6.316 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.509, allocations: 5.453 kB / 0.7204 GB, free: 6.312 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.509, allocations: 0 / 0.7204 GB, free: 6.312 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.5095, allocations: 118.2 kB / 0.7205 GB, free: 6.258 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.5099, allocations: 314.3 kB / 0.7208 GB, free: 5.926 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.5102, allocations: 78.83 kB / 0.7209 GB, free: 5.871 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.5104, allocations: 64.92 kB / 0.721 GB, free: 5.836 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.5105, allocations: 1.219 kB / 0.721 GB, free: 5.836 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.5105, allocations: 34.56 kB / 0.721 GB, free: 5.793 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.5105, allocations: 1.344 kB / 0.721 GB, free: 5.793 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5): time 0.0008136/0.5113, allocations: 202.5 kB / 0.7212 GB, free: 5.684 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.5114, allocations: 52.78 kB / 0.7213 GB, free: 5.621 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5115, allocations: 133 kB / 0.7214 GB, free: 5.504 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.5115, allocations: 25.7 kB / 0.7214 GB, free: 5.473 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.5116, allocations: 100.2 kB / 0.7215 GB, free: 5.375 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.5116, allocations: 13.12 kB / 0.7215 GB, free: 5.363 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.5116, allocations: 21.83 kB / 0.7215 GB, free: 5.34 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5118, allocations: 321.5 kB / 0.7218 GB, free: 5.02 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.512, allocations: 56.81 kB / 0.7219 GB, free: 4.992 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.5122, allocations: 58.14 kB / 0.722 GB, free: 4.965 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.5127, allocations: 117.2 kB / 0.7221 GB, free: 4.906 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5127, allocations: 0 / 0.7221 GB, free: 4.906 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004906/0.5132, allocations: 154.2 kB / 0.7222 GB, free: 4.816 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5132, allocations: 4.125 kB / 0.7222 GB, free: 4.816 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.5132, allocations: 1.375 kB / 0.7222 GB, free: 4.816 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5132, allocations: 0 / 0.7222 GB, free: 4.816 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.5134, allocations: 29.78 kB / 0.7222 GB, free: 4.805 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.5134, allocations: 0 / 0.7222 GB, free: 4.805 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.5136, allocations: 20.34 kB / 0.7223 GB, free: 4.797 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.5136, allocations: 5.375 kB / 0.7223 GB, free: 4.793 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.113e-05/0.5137, allocations: 118.3 kB / 0.7224 GB, free: 4.672 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.5137, allocations: 6.656 kB / 0.7224 GB, free: 4.668 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005579/0.5143, allocations: 168.5 kB / 0.7226 GB, free: 4.562 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.5143, allocations: 5.156 kB / 0.7226 GB, free: 4.559 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5143, allocations: 0 / 0.7226 GB, free: 4.559 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5143, allocations: 3.984 kB / 0.7226 GB, free: 4.555 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.5145, allocations: 197.4 kB / 0.7228 GB, free: 4.328 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.5145, allocations: 0 / 0.7228 GB, free: 4.328 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.5147, allocations: 30.25 kB / 0.7228 GB, free: 4.316 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5147, allocations: 5.312 kB / 0.7228 GB, free: 4.312 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.5147, allocations: 0 / 0.7228 GB, free: 4.312 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5147, allocations: 1.719 kB / 0.7228 GB, free: 4.312 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5147, allocations: 4 kB / 0.7228 GB, free: 4.309 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005474/0.5153, allocations: 255.2 kB / 0.723 GB, free: 4.113 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.5153, allocations: 88.02 kB / 0.7231 GB, free: 4.012 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.5154, allocations: 0 / 0.7231 GB, free: 4.012 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.5155, allocations: 23.12 kB / 0.7231 GB, free: 4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.5156, allocations: 8.609 kB / 0.7231 GB, free: 3.996 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.5156, allocations: 5.438 kB / 0.7232 GB, free: 3.992 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.5157, allocations: 102.5 kB / 0.7233 GB, free: 3.906 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.194e-06/0.5157, allocations: 0 / 0.7233 GB, free: 3.906 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002465/0.5159, allocations: 27.67 kB / 0.7233 GB, free: 3.895 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.0001726/0.5161, allocations: 110.3 kB / 0.7234 GB, free: 3.797 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0005158/0.5166, allocations: 115.7 kB / 0.7235 GB, free: 3.75 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5166, allocations: 3.938 kB / 0.7235 GB, free: 3.746 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.5169, allocations: 73.48 kB / 0.7236 GB, free: 3.711 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.5172, allocations: 7.75 kB / 0.7236 GB, free: 3.707 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.5176, allocations: 201.8 kB / 0.7238 GB, free: 3.523 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.5179, allocations: 0.7023 MB / 0.7245 GB, free: 2.809 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.5179, allocations: 14.75 kB / 0.7245 GB, free: 2.797 MB / 0.5138 GB Notification: Performance of SimCode: time 2.1e-07/0.5179, allocations: 0 / 0.7245 GB, free: 2.797 MB / 0.5138 GB Notification: Performance of Templates: time 0.003037/0.521, allocations: 1.257 MB / 0.7257 GB, free: 2.152 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