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.01393/0.01393, allocations: 1.432 MB / 17.07 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1386/0.1386, allocations: 22.38 MB / 40.49 MB, free: 0.5234 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.001146/0.001146, allocations: 116.7 kB / 47.98 MB, free: 2.129 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.0013/0.001299, allocations: 188.2 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.478/1.478, allocations: 222.9 MB / 285.9 MB, free: 1.152 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8628/0.8628, allocations: 127.8 MB / 470.6 MB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 127.8 kB / 0.6353 GB, free: 11.14 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1891, allocations: 82.34 MB / 0.7157 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.00345/0.1926, allocations: 2.173 MB / 0.7178 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1938, allocations: 0.6272 MB / 0.7184 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.1938, allocations: 0 / 0.7184 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.1939, allocations: 3.938 kB / 0.7184 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.513e-05/0.194, allocations: 23.78 kB / 0.7185 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.1943, allocations: 83.75 kB / 0.7186 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.1944, allocations: 83.72 kB / 0.7186 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1946, allocations: 23.92 kB / 0.7187 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1947, allocations: 39.84 kB / 0.7187 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.1948, allocations: 47.81 kB / 0.7187 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1948, allocations: 4 kB / 0.7187 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.1951, allocations: 159.7 kB / 0.7189 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.1951, allocations: 23.91 kB / 0.7189 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.1952, allocations: 39.73 kB / 0.719 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1954, allocations: 131.6 kB / 0.7191 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1954, allocations: 0 / 0.7191 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1954, allocations: 0 / 0.7191 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.1954, allocations: 0 / 0.7191 GB, free: 5.262 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.0006762/0.1961, allocations: 423 kB / 0.7195 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1961, allocations: 8.031 kB / 0.7195 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.1962, allocations: 12.84 kB / 0.7195 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1963, allocations: 182 kB / 0.7197 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1964, allocations: 384 / 0.7197 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1964, allocations: 4.375 kB / 0.7197 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.1967, allocations: 101.9 kB / 0.7198 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1967, allocations: 0 / 0.7198 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1968, allocations: 4 kB / 0.7198 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1968, allocations: 8 kB / 0.7198 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.1972, allocations: 107.8 kB / 0.7199 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.1977, allocations: 312.7 kB / 0.7202 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.1979, allocations: 82.53 kB / 0.7203 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.1982, allocations: 60.92 kB / 0.7203 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.1982, allocations: 4 kB / 0.7203 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1982, allocations: 34.56 kB / 0.7204 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 2.655e-06/0.1982, allocations: 3.984 kB / 0.7204 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0007691/0.199, allocations: 205.4 kB / 0.7206 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1991, allocations: 51.41 kB / 0.7206 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.1992, allocations: 125.8 kB / 0.7207 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1992, allocations: 33.64 kB / 0.7208 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.1993, allocations: 96.12 kB / 0.7209 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1993, allocations: 11.75 kB / 0.7209 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.1993, allocations: 17.72 kB / 0.7209 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1995, allocations: 334.7 kB / 0.7212 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.1997, allocations: 51.94 kB / 0.7213 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.1999, allocations: 52.19 kB / 0.7213 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.2003, allocations: 120.9 kB / 0.7214 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2003, allocations: 0 / 0.7214 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00045/0.2008, allocations: 153.5 kB / 0.7216 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2008, allocations: 6.031 kB / 0.7216 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.2008, allocations: 7.922 kB / 0.7216 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2009, allocations: 4 kB / 0.7216 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.201, allocations: 27.91 kB / 0.7216 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2011, allocations: 0 / 0.7216 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.2012, allocations: 23.97 kB / 0.7216 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.2012, allocations: 0 / 0.7216 GB, free: 2.426 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 9.045e-05/0.2013, allocations: 117.8 kB / 0.7217 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.2013, allocations: 7.906 kB / 0.7218 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005452/0.2019, allocations: 165.9 kB / 0.7219 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2019, allocations: 4 kB / 0.7219 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.2019, allocations: 0 / 0.7219 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2019, allocations: 0 / 0.7219 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.2021, allocations: 197.5 kB / 0.7221 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2022, allocations: 3.938 kB / 0.7221 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.2023, allocations: 27.97 kB / 0.7221 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2023, allocations: 4 kB / 0.7221 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2023, allocations: 0 / 0.7221 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2023, allocations: 4.125 kB / 0.7221 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2023, allocations: 4 kB / 0.7221 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.2029, allocations: 255.3 kB / 0.7224 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.2029, allocations: 81.11 kB / 0.7225 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.2029, allocations: 0 / 0.7225 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.2031, allocations: 19.97 kB / 0.7225 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.2032, allocations: 11.98 kB / 0.7225 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.2032, allocations: 0 / 0.7225 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.981e-05/0.2032, allocations: 103.2 kB / 0.7226 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2032, allocations: 3.938 kB / 0.7226 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002539/0.2035, allocations: 27.88 kB / 0.7226 GB, free: 1.305 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.0001891/0.2037, allocations: 119.2 kB / 0.7227 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005114/0.2042, allocations: 115.9 kB / 0.7228 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2042, allocations: 4 kB / 0.7229 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.2045, allocations: 63.88 kB / 0.7229 GB, free: 1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.2048, allocations: 11.98 kB / 0.7229 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.2052, allocations: 171.4 kB / 0.7231 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.2054, allocations: 0.6963 MB / 0.7238 GB, free: 68 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.2055, allocations: 3.984 kB / 0.7238 GB, free: 64 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.2055, allocations: 11.44 kB / 0.7238 GB, free: 52 kB / 0.5294 GB Notification: Performance of SimCode: time 2.11e-07/0.2055, allocations: 0 / 0.7238 GB, free: 52 kB / 0.5294 GB Notification: Performance of Templates: time 0.003747/0.2093, allocations: 1.295 MB / 0.725 GB, free: 14.77 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