Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.conf.json loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean") Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.823/0.823, allocations: 122.9 MB / 138.2 MB, free: 10.43 MB / 122.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 182.4 kB / 164.5 MB, free: 12.32 MB / 138.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.7 MB / 416.4 MB, free: 15.06 MB / 330.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 99.34 kB / 493 MB, free: 18.05 MB / 362.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo): time 0.08611/0.08611, allocations: 20.49 MB / 0.5762 GB, free: 6.078 MB / 442.8 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.000467, allocations: 14.94 kB / 0.6679 GB, free: 118.7 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1698, allocations: 81.85 MB / 0.7478 GB, free: 38.91 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean): time 0.002101/0.1719, allocations: 1.967 MB / 0.7497 GB, free: 36.93 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.1727, allocations: 0.8129 MB / 0.7505 GB, free: 36.02 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.1728, allocations: 4 kB / 0.7505 GB, free: 36.02 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.1729, allocations: 11.92 kB / 0.7505 GB, free: 36.01 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 8.232e-05/0.173, allocations: 11.88 kB / 0.7506 GB, free: 36 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.1734, allocations: 119.8 kB / 0.7507 GB, free: 35.88 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1736, allocations: 83.78 kB / 0.7508 GB, free: 35.8 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1737, allocations: 23.97 kB / 0.7508 GB, free: 35.77 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.663e-05/0.1737, allocations: 31.86 kB / 0.7508 GB, free: 35.74 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.1738, allocations: 47.75 kB / 0.7509 GB, free: 35.7 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1738, allocations: 4 kB / 0.7509 GB, free: 35.69 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.174, allocations: 67.94 kB / 0.7509 GB, free: 35.62 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.1741, allocations: 19.92 kB / 0.7509 GB, free: 35.61 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.1742, allocations: 69.42 kB / 0.751 GB, free: 35.53 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.1743, allocations: 147.7 kB / 0.7511 GB, free: 35.39 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1744, allocations: 0 / 0.7511 GB, free: 35.39 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1744, allocations: 4 kB / 0.7512 GB, free: 35.38 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1744, allocations: 0 / 0.7512 GB, free: 35.38 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005646/0.175, allocations: 418.1 kB / 0.7516 GB, free: 34.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.175, allocations: 8.031 kB / 0.7516 GB, free: 34.92 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.175, allocations: 8.844 kB / 0.7516 GB, free: 34.91 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1752, allocations: 204.1 kB / 0.7518 GB, free: 34.67 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.11e-05/0.1753, allocations: 34.27 kB / 0.7518 GB, free: 34.63 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.1753, allocations: 12.38 kB / 0.7518 GB, free: 34.62 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.1756, allocations: 121.4 kB / 0.7519 GB, free: 34.5 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1756, allocations: 3.938 kB / 0.7519 GB, free: 34.5 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1756, allocations: 0 / 0.7519 GB, free: 34.5 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1756, allocations: 4 kB / 0.7519 GB, free: 34.49 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.1759, allocations: 95.92 kB / 0.752 GB, free: 34.4 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.1764, allocations: 388.5 kB / 0.7524 GB, free: 33.97 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.1766, allocations: 130.6 kB / 0.7525 GB, free: 33.83 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.1767, allocations: 72.81 kB / 0.7526 GB, free: 33.76 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1768, allocations: 0 / 0.7526 GB, free: 33.76 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.1768, allocations: 34.56 kB / 0.7526 GB, free: 33.71 MB / 490.8 MB Notification: Performance of pre-optimization done (n=12): time 8.52e-07/0.1768, allocations: 0 / 0.7526 GB, free: 33.71 MB / 490.8 MB Notification: Performance of matching and sorting (n=12): time 0.0004725/0.1773, allocations: 225.6 kB / 0.7528 GB, free: 33.49 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.1773, allocations: 51.41 kB / 0.7529 GB, free: 33.43 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.1774, allocations: 134.1 kB / 0.753 GB, free: 33.28 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1774, allocations: 29.7 kB / 0.753 GB, free: 33.25 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.1775, allocations: 104.3 kB / 0.7531 GB, free: 33.14 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1775, allocations: 43.44 kB / 0.7532 GB, free: 33.1 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-06/0.1775, allocations: 8 kB / 0.7532 GB, free: 33.09 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.1776, allocations: 322.8 kB / 0.7535 GB, free: 32.77 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1777, allocations: 59.97 kB / 0.7536 GB, free: 32.71 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.1778, allocations: 63.95 kB / 0.7536 GB, free: 32.64 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.1781, allocations: 135.6 kB / 0.7537 GB, free: 32.51 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1781, allocations: 0 / 0.7537 GB, free: 32.51 MB / 490.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002907/0.1784, allocations: 193.3 kB / 0.7539 GB, free: 32.32 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1784, allocations: 8 kB / 0.7539 GB, free: 32.31 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1784, allocations: 0 / 0.7539 GB, free: 32.31 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1784, allocations: 0 / 0.7539 GB, free: 32.31 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.1788, allocations: 87.92 kB / 0.754 GB, free: 32.22 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1788, allocations: 0 / 0.754 GB, free: 32.22 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.1789, allocations: 15.91 kB / 0.754 GB, free: 32.21 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1789, allocations: 11.98 kB / 0.754 GB, free: 32.2 MB / 490.8 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 (16): * Single equations (assignments): 16 * 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 6.508e-05/0.179, allocations: 121.7 kB / 0.7542 GB, free: 32.07 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.179, allocations: 7.906 kB / 0.7542 GB, free: 32.06 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.1794, allocations: 206.2 kB / 0.7544 GB, free: 31.86 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1794, allocations: 0 / 0.7544 GB, free: 31.86 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1794, allocations: 0 / 0.7544 GB, free: 31.86 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1795, allocations: 7.984 kB / 0.7544 GB, free: 31.85 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.18, allocations: 0.4948 MB / 0.7549 GB, free: 31.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.18, allocations: 7.984 kB / 0.7549 GB, free: 31.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.1804, allocations: 91.91 kB / 0.755 GB, free: 31.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1805, allocations: 11.92 kB / 0.755 GB, free: 31.19 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1805, allocations: 4 kB / 0.755 GB, free: 31.18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1805, allocations: 4 kB / 0.755 GB, free: 31.18 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1805, allocations: 3.938 kB / 0.755 GB, free: 31.18 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.181, allocations: 358.9 kB / 0.7553 GB, free: 30.81 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.181, allocations: 92.86 kB / 0.7554 GB, free: 30.7 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.181, allocations: 4 kB / 0.7554 GB, free: 30.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1812, allocations: 19.97 kB / 0.7554 GB, free: 30.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.1812, allocations: 15.92 kB / 0.7554 GB, free: 30.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1812, allocations: 4 kB / 0.7554 GB, free: 30.66 MB / 490.8 MB Notification: Performance of sorting global known variables: time 4.071e-05/0.1813, allocations: 103.2 kB / 0.7555 GB, free: 30.55 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1813, allocations: 0 / 0.7555 GB, free: 30.55 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002589/0.1815, allocations: 36 kB / 0.7556 GB, free: 30.52 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (noise.y_,noise.y,slidingMean.integral) * 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 (15): * Single equations (assignments): 15 * 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.0003801/0.1819, allocations: 183.2 kB / 0.7558 GB, free: 30.35 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003051/0.1822, allocations: 151.7 kB / 0.7559 GB, free: 30.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1823, allocations: 0 / 0.7559 GB, free: 30.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.1824, allocations: 83.89 kB / 0.756 GB, free: 30.12 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.1826, allocations: 11.94 kB / 0.756 GB, free: 30.11 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.1832, allocations: 335.3 kB / 0.7563 GB, free: 29.76 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.1833, allocations: 0.7083 MB / 0.757 GB, free: 29.02 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.1834, allocations: 24.52 kB / 0.757 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.1835, allocations: 19.42 kB / 0.757 GB, free: 28.98 MB / 490.8 MB Notification: Performance of SimCode: time 2.31e-07/0.1835, allocations: 0 / 0.757 GB, free: 28.98 MB / 490.8 MB Notification: Performance of Templates: time 0.003498/0.187, allocations: 1.468 MB / 0.7585 GB, free: 27.52 MB / 490.8 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe 2>&1)