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/TILMedia 1.8.2-main/package.mo", uses=false) 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/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 SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.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/TILMedia 1.8.2-main/package.mo): time 0.1274/0.1274, allocations: 23.03 MB / 38.66 MB, free: 1.156 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008994/0.008994, allocations: 1.424 MB / 47.3 MB, free: 2.027 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.001281/0.001281, allocations: 111.9 kB / 54.94 MB, free: 6.008 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 191.5 kB / 62.69 MB, free: 14.71 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.424/1.424, allocations: 222.9 MB / 293.2 MB, free: 13.26 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8685/0.8685, allocations: 127.5 MB / 477.6 MB, free: 96 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003381/0.003381, allocations: 135.8 kB / 0.6424 GB, free: 12.77 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.496, allocations: 82.44 MB / 0.7229 GB, free: 9.715 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003303/0.4994, allocations: 2.165 MB / 0.725 GB, free: 8.051 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.5006, allocations: 0.6272 MB / 0.7256 GB, free: 7.551 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.5006, allocations: 1.375 kB / 0.7256 GB, free: 7.551 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.5007, allocations: 7.922 kB / 0.7256 GB, free: 7.543 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 6.804e-05/0.5008, allocations: 17.17 kB / 0.7256 GB, free: 7.527 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.5011, allocations: 89.75 kB / 0.7257 GB, free: 7.461 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.5013, allocations: 84.2 kB / 0.7258 GB, free: 7.41 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.5014, allocations: 28.36 kB / 0.7258 GB, free: 7.395 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.5015, allocations: 41.47 kB / 0.7259 GB, free: 7.367 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.5016, allocations: 42.55 kB / 0.7259 GB, free: 7.336 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.5016, allocations: 6.469 kB / 0.7259 GB, free: 7.336 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.5019, allocations: 167.8 kB / 0.7261 GB, free: 7.238 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.5019, allocations: 17.2 kB / 0.7261 GB, free: 7.223 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.502, allocations: 35.17 kB / 0.7261 GB, free: 7.195 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.5022, allocations: 133.2 kB / 0.7262 GB, free: 7.105 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5022, allocations: 0.9375 kB / 0.7262 GB, free: 7.105 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5022, allocations: 0 / 0.7262 GB, free: 7.105 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5022, allocations: 0 / 0.7262 GB, free: 7.105 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.0006988/0.5029, allocations: 418.1 kB / 0.7266 GB, free: 6.691 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.503, allocations: 10.03 kB / 0.7266 GB, free: 6.691 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.503, allocations: 9.297 kB / 0.7267 GB, free: 6.688 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.5032, allocations: 188.6 kB / 0.7268 GB, free: 6.469 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.5032, allocations: 6.031 kB / 0.7268 GB, free: 6.465 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.5032, allocations: 3.969 kB / 0.7268 GB, free: 6.465 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.5036, allocations: 106.1 kB / 0.7269 GB, free: 6.391 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.5036, allocations: 1.656 kB / 0.7269 GB, free: 6.391 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.5036, allocations: 0 / 0.7269 GB, free: 6.391 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5037, allocations: 1.469 kB / 0.7269 GB, free: 6.391 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.5041, allocations: 113.4 kB / 0.7271 GB, free: 6.34 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.5046, allocations: 305.7 kB / 0.7273 GB, free: 6.016 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.5049, allocations: 70.98 kB / 0.7274 GB, free: 5.969 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.5051, allocations: 68.7 kB / 0.7275 GB, free: 5.93 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.5051, allocations: 5.312 kB / 0.7275 GB, free: 5.926 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.5052, allocations: 31.94 kB / 0.7275 GB, free: 5.887 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.5052, allocations: 0 / 0.7275 GB, free: 5.887 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5): time 0.0008269/0.506, allocations: 207.1 kB / 0.7277 GB, free: 5.773 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.5061, allocations: 52.78 kB / 0.7278 GB, free: 5.711 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.5062, allocations: 129.5 kB / 0.7279 GB, free: 5.594 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.5062, allocations: 27.08 kB / 0.7279 GB, free: 5.562 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.5063, allocations: 102.6 kB / 0.728 GB, free: 5.461 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.5063, allocations: 22.45 kB / 0.728 GB, free: 5.441 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.5064, allocations: 21.72 kB / 0.7281 GB, free: 5.418 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5065, allocations: 320.1 kB / 0.7284 GB, free: 5.098 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.5068, allocations: 57.97 kB / 0.7284 GB, free: 5.07 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.507, allocations: 59.14 kB / 0.7285 GB, free: 5.043 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.5075, allocations: 115.7 kB / 0.7286 GB, free: 4.984 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5075, allocations: 2.062 kB / 0.7286 GB, free: 4.984 MB / 0.5138 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005118/0.508, allocations: 148.8 kB / 0.7287 GB, free: 4.898 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.508, allocations: 4.531 kB / 0.7287 GB, free: 4.898 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.508, allocations: 1.25 kB / 0.7287 GB, free: 4.898 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.508, allocations: 0 / 0.7287 GB, free: 4.898 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.5082, allocations: 25.34 kB / 0.7288 GB, free: 4.891 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.5083, allocations: 13.17 kB / 0.7288 GB, free: 4.879 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.5084, allocations: 26.52 kB / 0.7288 GB, free: 4.863 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.5085, allocations: 1.219 kB / 0.7288 GB, free: 4.863 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 9.253e-05/0.5086, allocations: 121.1 kB / 0.7289 GB, free: 4.738 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.5086, allocations: 4.156 kB / 0.7289 GB, free: 4.738 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/0.5092, allocations: 166.8 kB / 0.7291 GB, free: 4.629 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5092, allocations: 1.375 kB / 0.7291 GB, free: 4.629 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5092, allocations: 0 / 0.7291 GB, free: 4.629 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5092, allocations: 0 / 0.7291 GB, free: 4.629 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.5094, allocations: 201.5 kB / 0.7293 GB, free: 4.398 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5095, allocations: 0 / 0.7293 GB, free: 4.398 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.5096, allocations: 35.16 kB / 0.7293 GB, free: 4.383 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5096, allocations: 0 / 0.7293 GB, free: 4.383 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.5096, allocations: 5.422 kB / 0.7293 GB, free: 4.379 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5097, allocations: 0 / 0.7293 GB, free: 4.379 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5097, allocations: 128 / 0.7293 GB, free: 4.379 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.5102, allocations: 260.1 kB / 0.7296 GB, free: 4.18 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 7.512e-05/0.5103, allocations: 92.05 kB / 0.7296 GB, free: 4.074 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.5103, allocations: 0 / 0.7296 GB, free: 4.074 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.5105, allocations: 19.62 kB / 0.7297 GB, free: 4.066 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.5106, allocations: 12.08 kB / 0.7297 GB, free: 4.059 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.5106, allocations: 5.391 kB / 0.7297 GB, free: 4.055 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 6.333e-05/0.5107, allocations: 105.9 kB / 0.7298 GB, free: 3.965 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5107, allocations: 0 / 0.7298 GB, free: 3.965 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002409/0.5109, allocations: 24.56 kB / 0.7298 GB, free: 3.957 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.0001869/0.5111, allocations: 109.9 kB / 0.7299 GB, free: 3.859 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0005375/0.5116, allocations: 123.9 kB / 0.73 GB, free: 3.805 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5117, allocations: 0 / 0.73 GB, free: 3.805 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.5119, allocations: 64.38 kB / 0.7301 GB, free: 3.777 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.5122, allocations: 4 kB / 0.7301 GB, free: 3.777 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.5126, allocations: 187.4 kB / 0.7303 GB, free: 3.613 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.5131, allocations: 0.6941 MB / 0.7309 GB, free: 2.906 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.5131, allocations: 3.188 kB / 0.7309 GB, free: 2.906 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.5132, allocations: 9.906 kB / 0.731 GB, free: 2.898 MB / 0.5138 GB Notification: Performance of SimCode: time 2.41e-07/0.5132, allocations: 1.281 kB / 0.731 GB, free: 2.898 MB / 0.5138 GB Notification: Performance of Templates: time 0.003963/0.5171, allocations: 1.284 MB / 0.7322 GB, free: 2.246 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=50 -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