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.01877/0.01877, allocations: 1.435 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.1675/0.1675, allocations: 22.37 MB / 40.49 MB, free: 0.5117 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.001065/0.001065, allocations: 110.6 kB / 47.98 MB, free: 2.125 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.001595/0.001595, allocations: 195.7 kB / 55.57 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.387/1.387, allocations: 222.9 MB / 285.9 MB, free: 1.242 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8607/0.8607, allocations: 127.8 MB / 470.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 127.8 kB / 0.6353 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1715, allocations: 82.34 MB / 0.7157 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003477/0.175, allocations: 2.171 MB / 0.7178 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1764, allocations: 0.6233 MB / 0.7184 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.1765, allocations: 8 kB / 0.7184 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.1766, allocations: 11.86 kB / 0.7184 GB, free: 6 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.1767, allocations: 11.86 kB / 0.7185 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.1771, allocations: 91.69 kB / 0.7185 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1772, allocations: 79.7 kB / 0.7186 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1773, allocations: 23.94 kB / 0.7186 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1775, allocations: 35.91 kB / 0.7187 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/0.1776, allocations: 47.81 kB / 0.7187 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1776, allocations: 8 kB / 0.7187 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.1779, allocations: 155.7 kB / 0.7189 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.1779, allocations: 19.92 kB / 0.7189 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.1779, allocations: 35.78 kB / 0.7189 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.1782, allocations: 135.5 kB / 0.7191 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.1782, allocations: 4 kB / 0.7191 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1782, allocations: 0 / 0.7191 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.1782, allocations: 4 kB / 0.7191 GB, free: 5.359 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.0007178/0.1789, allocations: 425.2 kB / 0.7195 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.179, allocations: 11.97 kB / 0.7195 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.1791, allocations: 8.844 kB / 0.7195 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.1792, allocations: 172.2 kB / 0.7197 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1792, allocations: 8.359 kB / 0.7197 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.1793, allocations: 4.375 kB / 0.7197 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.1796, allocations: 105.9 kB / 0.7198 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1797, allocations: 0 / 0.7198 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1797, allocations: 4 kB / 0.7198 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.1797, allocations: 3.984 kB / 0.7198 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.1802, allocations: 107.9 kB / 0.7199 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.1807, allocations: 316.6 kB / 0.7202 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.181, allocations: 74.52 kB / 0.7203 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.1812, allocations: 60.92 kB / 0.7203 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1813, allocations: 0 / 0.7203 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1813, allocations: 34.56 kB / 0.7204 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1813, allocations: 4 kB / 0.7204 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0008878/0.1822, allocations: 205.5 kB / 0.7206 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1823, allocations: 51.41 kB / 0.7206 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1824, allocations: 131.4 kB / 0.7207 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1824, allocations: 25.7 kB / 0.7207 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.1825, allocations: 100.1 kB / 0.7208 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.1825, allocations: 15.75 kB / 0.7209 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.1826, allocations: 21.7 kB / 0.7209 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1827, allocations: 318.8 kB / 0.7212 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.183, allocations: 59.88 kB / 0.7212 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.1832, allocations: 51.94 kB / 0.7213 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.1837, allocations: 121.1 kB / 0.7214 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1837, allocations: 0 / 0.7214 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005177/0.1842, allocations: 153.4 kB / 0.7216 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1842, allocations: 8 kB / 0.7216 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1842, allocations: 4 kB / 0.7216 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1843, allocations: 0 / 0.7216 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.1845, allocations: 27.97 kB / 0.7216 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1845, allocations: 4 kB / 0.7216 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.1846, allocations: 15.97 kB / 0.7216 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.1846, allocations: 4 kB / 0.7216 GB, free: 2.535 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.838e-05/0.1847, allocations: 125.7 kB / 0.7217 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.1848, allocations: 3.906 kB / 0.7217 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/0.1854, allocations: 169.8 kB / 0.7219 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1854, allocations: 3.984 kB / 0.7219 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.1854, allocations: 0 / 0.7219 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1854, allocations: 7.984 kB / 0.7219 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.1856, allocations: 193.5 kB / 0.7221 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1857, allocations: 0 / 0.7221 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.1858, allocations: 27.97 kB / 0.7221 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1859, allocations: 0 / 0.7221 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1859, allocations: 4 kB / 0.7221 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1859, allocations: 0 / 0.7221 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1859, allocations: 0 / 0.7221 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.1865, allocations: 263.3 kB / 0.7224 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.1866, allocations: 81.11 kB / 0.7225 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1866, allocations: 0 / 0.7225 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.1868, allocations: 23.97 kB / 0.7225 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.1869, allocations: 11.98 kB / 0.7225 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1869, allocations: 0 / 0.7225 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001125/0.187, allocations: 109.5 kB / 0.7226 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.61e-07/0.187, allocations: 0 / 0.7226 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003188/0.1873, allocations: 31.86 kB / 0.7226 GB, free: 1.398 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.0002478/0.1876, allocations: 99.23 kB / 0.7227 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006313/0.1882, allocations: 127.8 kB / 0.7228 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1883, allocations: 0 / 0.7228 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.1885, allocations: 75.86 kB / 0.7229 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1889, allocations: 8 kB / 0.7229 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.1894, allocations: 171.4 kB / 0.7231 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1897, allocations: 0.6924 MB / 0.7238 GB, free: 172 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.767e-05/0.1898, allocations: 8 kB / 0.7238 GB, free: 164 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.1898, allocations: 11.44 kB / 0.7238 GB, free: 152 kB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1898, allocations: 0 / 0.7238 GB, free: 152 kB / 0.5294 GB Notification: Performance of Templates: time 0.004254/0.1941, allocations: 1.317 MB / 0.7251 GB, free: 14.84 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=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