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.01995/0.01995, allocations: 1.436 MB / 17.07 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1238/0.1238, allocations: 22.37 MB / 40.49 MB, free: 0.5156 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.001086/0.001086, allocations: 104 kB / 47.98 MB, free: 2.133 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.00136/0.00136, allocations: 191.8 kB / 55.58 MB, free: 6.164 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.377/1.377, allocations: 222.9 MB / 285.9 MB, free: 1.188 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8684/0.8684, allocations: 127.8 MB / 470.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002175, allocations: 131.8 kB / 0.6353 GB, free: 11.19 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1769, allocations: 82.35 MB / 0.7157 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003229/0.1801, allocations: 2.166 MB / 0.7178 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1812, allocations: 0.6272 MB / 0.7184 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.1812, allocations: 4 kB / 0.7185 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.1813, allocations: 3.938 kB / 0.7185 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.1814, allocations: 15.8 kB / 0.7185 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.1817, allocations: 91.75 kB / 0.7186 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.1818, allocations: 83.7 kB / 0.7186 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.182, allocations: 15.98 kB / 0.7187 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1821, allocations: 35.84 kB / 0.7187 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.1821, allocations: 39.84 kB / 0.7187 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1822, allocations: 8 kB / 0.7187 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.1824, allocations: 171.6 kB / 0.7189 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.1825, allocations: 15.98 kB / 0.7189 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.1825, allocations: 35.8 kB / 0.7189 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1827, allocations: 151.4 kB / 0.7191 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1828, allocations: 0 / 0.7191 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1828, allocations: 0 / 0.7191 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.1828, allocations: 0 / 0.7191 GB, free: 5.305 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006366/0.1834, allocations: 418.9 kB / 0.7195 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1835, allocations: 12.03 kB / 0.7195 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.1835, allocations: 8.891 kB / 0.7195 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.1836, allocations: 181.7 kB / 0.7197 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1836, allocations: 4.375 kB / 0.7197 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1837, allocations: 4.375 kB / 0.7197 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.184, allocations: 105.9 kB / 0.7198 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.184, allocations: 0 / 0.7198 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.184, allocations: 4 kB / 0.7198 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.184, allocations: 0 / 0.7198 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.1845, allocations: 115.8 kB / 0.7199 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.1849, allocations: 312.7 kB / 0.7202 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1852, allocations: 74.55 kB / 0.7203 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.1854, allocations: 68.91 kB / 0.7203 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1855, allocations: 4 kB / 0.7203 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1855, allocations: 34.56 kB / 0.7204 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1855, allocations: 0 / 0.7204 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0008238/0.1863, allocations: 201.5 kB / 0.7206 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.1864, allocations: 51.41 kB / 0.7206 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1865, allocations: 131.4 kB / 0.7207 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1865, allocations: 29.7 kB / 0.7208 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.1866, allocations: 100 kB / 0.7209 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.1866, allocations: 15.84 kB / 0.7209 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.1867, allocations: 21.72 kB / 0.7209 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1868, allocations: 322.8 kB / 0.7212 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.187, allocations: 55.94 kB / 0.7213 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.1872, allocations: 56.19 kB / 0.7213 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.1877, allocations: 116.9 kB / 0.7214 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1877, allocations: 0 / 0.7214 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000483/0.1882, allocations: 157.5 kB / 0.7216 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1882, allocations: 4 kB / 0.7216 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1882, allocations: 0 / 0.7216 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1882, allocations: 3.938 kB / 0.7216 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.1884, allocations: 31.89 kB / 0.7216 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.1884, allocations: 4 kB / 0.7216 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.1886, allocations: 27.91 kB / 0.7216 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.1886, allocations: 0 / 0.7216 GB, free: 2.461 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 8.661e-05/0.1887, allocations: 117.8 kB / 0.7218 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.1887, allocations: 7.953 kB / 0.7218 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005398/0.1892, allocations: 165.9 kB / 0.7219 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1893, allocations: 0 / 0.7219 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1893, allocations: 0 / 0.7219 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1893, allocations: 0 / 0.7219 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.1895, allocations: 193.6 kB / 0.7221 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.1895, allocations: 3.984 kB / 0.7221 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.1896, allocations: 31.91 kB / 0.7221 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1897, allocations: 4 kB / 0.7222 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1897, allocations: 0 / 0.7222 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1897, allocations: 128 / 0.7222 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1897, allocations: 4 kB / 0.7222 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.1903, allocations: 259.3 kB / 0.7224 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.1904, allocations: 81.06 kB / 0.7225 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1904, allocations: 0 / 0.7225 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1906, allocations: 23.97 kB / 0.7225 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.1906, allocations: 7.984 kB / 0.7225 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1907, allocations: 4 kB / 0.7225 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.443e-05/0.1907, allocations: 101.5 kB / 0.7226 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.296e-06/0.1907, allocations: 4 kB / 0.7226 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002429/0.191, allocations: 35.7 kB / 0.7226 GB, free: 1.336 MB / 0.5294 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.0001528/0.1911, allocations: 103.2 kB / 0.7227 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005294/0.1917, allocations: 119.9 kB / 0.7229 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1917, allocations: 0 / 0.7229 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.1919, allocations: 67.88 kB / 0.7229 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1923, allocations: 11.98 kB / 0.7229 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.1927, allocations: 176.6 kB / 0.7231 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.193, allocations: 0.6885 MB / 0.7238 GB, free: 116 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.384e-05/0.193, allocations: 4 kB / 0.7238 GB, free: 112 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.193, allocations: 19.42 kB / 0.7238 GB, free: 92 kB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.1931, allocations: 0 / 0.7238 GB, free: 92 kB / 0.5294 GB Notification: Performance of Templates: time 0.003699/0.1968, allocations: 1.287 MB / 0.7251 GB, free: 14.82 MB / 0.545 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/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