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.0143/0.0143, allocations: 1.415 MB / 16.69 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1178/0.1178, allocations: 22.59 MB / 40.31 MB, free: 1.09 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008511/0.0008514, allocations: 87.45 kB / 48.06 MB, free: 2.422 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 183.1 kB / 55.93 MB, free: 3.973 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.577/1.577, allocations: 223.3 MB / 286.9 MB, free: 2.996 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9764/0.9764, allocations: 127.7 MB / 472.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005307/0.0005308, allocations: 18.06 kB / 0.5567 GB, free: 42.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1853, allocations: 83.88 MB / 0.6386 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.00274/0.1881, allocations: 1.884 MB / 0.6405 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1892, allocations: 0.6312 MB / 0.6411 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.1893, allocations: 0 / 0.6411 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.1893, allocations: 0 / 0.6411 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.368e-05/0.1894, allocations: 11.88 kB / 0.6411 GB, free: 8.523 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1897, allocations: 71.83 kB / 0.6412 GB, free: 8.453 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.1898, allocations: 83.7 kB / 0.6412 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.19, allocations: 19.92 kB / 0.6413 GB, free: 8.352 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1901, allocations: 31.86 kB / 0.6413 GB, free: 8.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.217e-05/0.1902, allocations: 35.83 kB / 0.6413 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1902, allocations: 7.938 kB / 0.6413 GB, free: 8.277 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.1904, allocations: 159.7 kB / 0.6415 GB, free: 8.121 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.1905, allocations: 11.92 kB / 0.6415 GB, free: 8.109 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.1905, allocations: 61.5 kB / 0.6415 GB, free: 8.043 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.1907, allocations: 123.7 kB / 0.6417 GB, free: 7.922 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1907, allocations: 0 / 0.6417 GB, free: 7.922 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1907, allocations: 0 / 0.6417 GB, free: 7.922 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.1908, allocations: 0 / 0.6417 GB, free: 7.922 MB / 462.1 MB 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.0006595/0.1914, allocations: 427.1 kB / 0.6421 GB, free: 7.457 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1915, allocations: 8.031 kB / 0.6421 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.1915, allocations: 8.844 kB / 0.6421 GB, free: 7.441 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1917, allocations: 186.5 kB / 0.6423 GB, free: 7.223 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1917, allocations: 4.312 kB / 0.6423 GB, free: 7.219 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.1917, allocations: 4.375 kB / 0.6423 GB, free: 7.215 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.1921, allocations: 121.9 kB / 0.6424 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1921, allocations: 0 / 0.6424 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1922, allocations: 4 kB / 0.6424 GB, free: 7.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.1922, allocations: 4 kB / 0.6424 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005159/0.1927, allocations: 147.8 kB / 0.6425 GB, free: 6.938 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.1933, allocations: 320.7 kB / 0.6428 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.1937, allocations: 90.52 kB / 0.6429 GB, free: 6.477 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.194, allocations: 81.02 kB / 0.643 GB, free: 6.395 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1941, allocations: 3.938 kB / 0.643 GB, free: 6.391 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1941, allocations: 34.56 kB / 0.643 GB, free: 6.348 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.1941, allocations: 0 / 0.643 GB, free: 6.348 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009458/0.1951, allocations: 261.4 kB / 0.6433 GB, free: 6.086 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.1951, allocations: 55.41 kB / 0.6433 GB, free: 6.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1953, allocations: 125.8 kB / 0.6435 GB, free: 5.887 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1953, allocations: 25.7 kB / 0.6435 GB, free: 5.855 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.1954, allocations: 100.1 kB / 0.6436 GB, free: 5.754 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.1955, allocations: 19.75 kB / 0.6436 GB, free: 5.734 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1955, allocations: 9.719 kB / 0.6436 GB, free: 5.719 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1957, allocations: 322.8 kB / 0.6439 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.196, allocations: 75.94 kB / 0.644 GB, free: 5.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.1963, allocations: 79.88 kB / 0.6441 GB, free: 5.242 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/0.197, allocations: 153.1 kB / 0.6442 GB, free: 5.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.197, allocations: 3.938 kB / 0.6442 GB, free: 5.086 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006648/0.1976, allocations: 189.5 kB / 0.6444 GB, free: 4.895 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.1977, allocations: 8 kB / 0.6444 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1977, allocations: 0 / 0.6444 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1977, allocations: 0 / 0.6444 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.1979, allocations: 39.95 kB / 0.6444 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.198, allocations: 0 / 0.6444 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.1981, allocations: 35.81 kB / 0.6445 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1981, allocations: 4 kB / 0.6445 GB, free: 4.809 MB / 462.1 MB 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.0002104/0.1984, allocations: 119.5 kB / 0.6446 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.1984, allocations: 7.938 kB / 0.6446 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006574/0.1991, allocations: 201.9 kB / 0.6448 GB, free: 4.477 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1991, allocations: 0 / 0.6448 GB, free: 4.477 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1991, allocations: 4 kB / 0.6448 GB, free: 4.473 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1991, allocations: 0 / 0.6448 GB, free: 4.473 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.1995, allocations: 197.5 kB / 0.645 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1995, allocations: 0 / 0.645 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.1997, allocations: 43.89 kB / 0.645 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1997, allocations: 0 / 0.645 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1997, allocations: 0 / 0.645 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1997, allocations: 4 kB / 0.645 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1997, allocations: 4 kB / 0.645 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.2004, allocations: 291.3 kB / 0.6453 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/0.2005, allocations: 84.95 kB / 0.6454 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.2005, allocations: 4.188 kB / 0.6454 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.2008, allocations: 35.97 kB / 0.6454 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.2008, allocations: 3.984 kB / 0.6454 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.2008, allocations: 8 kB / 0.6455 GB, free: 3.727 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.092e-05/0.2009, allocations: 101.5 kB / 0.6455 GB, free: 3.629 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2009, allocations: 0 / 0.6455 GB, free: 3.629 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.2012, allocations: 23.94 kB / 0.6456 GB, free: 3.605 MB / 462.1 MB 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.0001999/0.2014, allocations: 111.2 kB / 0.6457 GB, free: 3.488 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006096/0.202, allocations: 155.9 kB / 0.6458 GB, free: 3.336 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.202, allocations: 0 / 0.6458 GB, free: 3.336 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.2023, allocations: 79.94 kB / 0.6459 GB, free: 3.258 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.2027, allocations: 11.98 kB / 0.6459 GB, free: 3.246 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.2034, allocations: 217.2 kB / 0.6461 GB, free: 3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.2039, allocations: 0.6926 MB / 0.6468 GB, free: 2.281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.611e-05/0.2039, allocations: 7.922 kB / 0.6468 GB, free: 2.273 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.204, allocations: 11.44 kB / 0.6468 GB, free: 2.262 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.204, allocations: 4 kB / 0.6468 GB, free: 2.258 MB / 462.1 MB Notification: Performance of Templates: time 0.004121/0.2081, allocations: 1.035 MB / 0.6478 GB, free: 1.238 MB / 462.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.mat","/var/lib/jenkins/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