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.01738/0.01738, allocations: 1.436 MB / 16.55 MB, free: 5.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1763/0.1763, allocations: 22.38 MB / 39.96 MB, free: 0.8906 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.001296/0.001296, allocations: 103.3 kB / 47.42 MB, free: 2.535 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.001473/0.001473, allocations: 193.5 kB / 55 MB, free: 6.594 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.476/1.476, allocations: 222.9 MB / 285.3 MB, free: 1.105 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9008/0.9008, allocations: 127.8 MB / 469.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 130.9 kB / 0.5526 GB, free: 43.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1746, allocations: 82.35 MB / 0.633 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003639/0.1783, allocations: 2.234 MB / 0.6352 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1794, allocations: 0.639 MB / 0.6358 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.1795, allocations: 4 kB / 0.6358 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.1796, allocations: 3.938 kB / 0.6358 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.799e-05/0.1796, allocations: 7.875 kB / 0.6358 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1799, allocations: 71.83 kB / 0.6359 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.536e-05/0.18, allocations: 75.78 kB / 0.6359 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1801, allocations: 32.19 kB / 0.636 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1803, allocations: 31.91 kB / 0.636 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.1803, allocations: 39.83 kB / 0.636 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1804, allocations: 4 kB / 0.636 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.1806, allocations: 159.7 kB / 0.6362 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.1806, allocations: 11.92 kB / 0.6362 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.1807, allocations: 31.8 kB / 0.6362 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1809, allocations: 131.5 kB / 0.6364 GB, free: 9.988 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1809, allocations: 4 kB / 0.6364 GB, free: 9.984 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1809, allocations: 0 / 0.6364 GB, free: 9.984 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1809, allocations: 0 / 0.6364 GB, free: 9.984 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.0006606/0.1816, allocations: 419.1 kB / 0.6368 GB, free: 9.527 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1816, allocations: 8.031 kB / 0.6368 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.1817, allocations: 12.84 kB / 0.6368 GB, free: 9.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1818, allocations: 180.1 kB / 0.637 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1818, allocations: 4.375 kB / 0.637 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.1819, allocations: 8.312 kB / 0.637 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.1822, allocations: 105.9 kB / 0.6371 GB, free: 9.172 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1822, allocations: 0 / 0.6371 GB, free: 9.172 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1823, allocations: 4 kB / 0.6371 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.1823, allocations: 4 kB / 0.6371 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.1827, allocations: 111.8 kB / 0.6372 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.1831, allocations: 308.7 kB / 0.6375 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.1834, allocations: 74.52 kB / 0.6375 GB, free: 8.621 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.1836, allocations: 60.92 kB / 0.6376 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1837, allocations: 3.984 kB / 0.6376 GB, free: 8.555 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1837, allocations: 38.56 kB / 0.6376 GB, free: 8.508 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1837, allocations: 0 / 0.6376 GB, free: 8.508 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007626/0.1845, allocations: 209.5 kB / 0.6378 GB, free: 8.297 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1845, allocations: 51.41 kB / 0.6379 GB, free: 8.234 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1846, allocations: 128.6 kB / 0.638 GB, free: 8.102 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1847, allocations: 25.7 kB / 0.638 GB, free: 8.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.1847, allocations: 104 kB / 0.6381 GB, free: 7.965 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.1848, allocations: 15.75 kB / 0.6382 GB, free: 7.949 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.1848, allocations: 17.72 kB / 0.6382 GB, free: 7.926 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.185, allocations: 326.8 kB / 0.6385 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.1852, allocations: 51.94 kB / 0.6385 GB, free: 7.547 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.1854, allocations: 51.94 kB / 0.6386 GB, free: 7.496 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.1859, allocations: 116.7 kB / 0.6387 GB, free: 7.379 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1859, allocations: 0 / 0.6387 GB, free: 7.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004962/0.1864, allocations: 153.8 kB / 0.6388 GB, free: 7.223 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1864, allocations: 8 kB / 0.6388 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1864, allocations: 0 / 0.6388 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1864, allocations: 0 / 0.6388 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.1866, allocations: 36.02 kB / 0.6389 GB, free: 7.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1866, allocations: 0 / 0.6389 GB, free: 7.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.1868, allocations: 23.97 kB / 0.6389 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1868, allocations: 0 / 0.6389 GB, free: 7.156 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 8.491e-05/0.1869, allocations: 119.5 kB / 0.639 GB, free: 7.031 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.1869, allocations: 7.906 kB / 0.639 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000551/0.1875, allocations: 173.7 kB / 0.6392 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1875, allocations: 4 kB / 0.6392 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1875, allocations: 0 / 0.6392 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1875, allocations: 3.984 kB / 0.6392 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.1877, allocations: 193.5 kB / 0.6394 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1877, allocations: 0 / 0.6394 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.1879, allocations: 31.95 kB / 0.6394 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1879, allocations: 0 / 0.6394 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1879, allocations: 4 kB / 0.6394 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1879, allocations: 4 kB / 0.6394 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1879, allocations: 0 / 0.6394 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.1885, allocations: 259.2 kB / 0.6397 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.1885, allocations: 88.95 kB / 0.6398 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1885, allocations: 0 / 0.6398 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1887, allocations: 19.97 kB / 0.6398 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.1888, allocations: 11.98 kB / 0.6398 GB, free: 6.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.1888, allocations: 0 / 0.6398 GB, free: 6.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.577e-05/0.1889, allocations: 99.27 kB / 0.6399 GB, free: 6.062 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1889, allocations: 0 / 0.6399 GB, free: 6.062 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1891, allocations: 31.78 kB / 0.6399 GB, free: 6.031 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.0001621/0.1893, allocations: 107.2 kB / 0.64 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004958/0.1898, allocations: 120 kB / 0.6401 GB, free: 5.801 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1898, allocations: 4 kB / 0.6401 GB, free: 5.797 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.1901, allocations: 67.88 kB / 0.6402 GB, free: 5.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.1904, allocations: 11.98 kB / 0.6402 GB, free: 5.719 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.1908, allocations: 205 kB / 0.6404 GB, free: 5.488 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1911, allocations: 0.6926 MB / 0.6411 GB, free: 4.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.654e-05/0.1911, allocations: 3.984 kB / 0.6411 GB, free: 4.766 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1912, allocations: 15.44 kB / 0.6411 GB, free: 4.75 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1912, allocations: 0 / 0.6411 GB, free: 4.75 MB / 462.1 MB Notification: Performance of Templates: time 0.003355/0.1945, allocations: 1.048 MB / 0.6421 GB, free: 3.719 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=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