Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.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.testGradientLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter") translateModel(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter") Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8108/0.8108, 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.001002/0.001003, allocations: 188.6 kB / 164.5 MB, free: 12.34 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.396/1.396, 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.000832/0.0008321, allocations: 97.72 kB / 493 MB, free: 18.21 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.08684/0.08684, allocations: 20.51 MB / 0.5762 GB, free: 6.086 MB / 442.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004879, allocations: 15.38 kB / 0.6679 GB, free: 118.7 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1655, allocations: 81.85 MB / 0.7478 GB, free: 38.93 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter): time 0.002107/0.1677, allocations: 1.955 MB / 0.7497 GB, free: 36.96 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1687, allocations: 0.8094 MB / 0.7505 GB, free: 36.11 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.1688, allocations: 4 kB / 0.7505 GB, free: 36.11 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1689, allocations: 7.922 kB / 0.7505 GB, free: 36.1 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 5.491e-05/0.169, allocations: 15.86 kB / 0.7505 GB, free: 36.09 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.1693, allocations: 87.77 kB / 0.7506 GB, free: 36 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1695, allocations: 91.64 kB / 0.7507 GB, free: 35.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1696, allocations: 29.11 kB / 0.7507 GB, free: 35.88 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.1697, allocations: 35.83 kB / 0.7508 GB, free: 35.84 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.438e-05/0.1697, allocations: 35.78 kB / 0.7508 GB, free: 35.81 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1697, allocations: 4 kB / 0.7508 GB, free: 35.8 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.1698, allocations: 4 kB / 0.7508 GB, free: 35.8 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.1698, allocations: 15.92 kB / 0.7508 GB, free: 35.79 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.1699, allocations: 61.44 kB / 0.7509 GB, free: 35.72 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.17, allocations: 75.91 kB / 0.751 GB, free: 35.64 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.17, allocations: 0 / 0.751 GB, free: 35.64 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.17, allocations: 4 kB / 0.751 GB, free: 35.64 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.17, allocations: 0 / 0.751 GB, free: 35.64 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005608/0.1706, allocations: 418.1 kB / 0.7514 GB, free: 35.19 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1706, allocations: 19.97 kB / 0.7514 GB, free: 35.17 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.1707, allocations: 16.73 kB / 0.7514 GB, free: 35.15 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1708, allocations: 196.6 kB / 0.7516 GB, free: 34.92 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1708, allocations: 8.375 kB / 0.7516 GB, free: 34.91 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.1709, allocations: 12.12 kB / 0.7516 GB, free: 34.9 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.1712, allocations: 121.6 kB / 0.7517 GB, free: 34.78 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1712, allocations: 0 / 0.7517 GB, free: 34.78 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1712, allocations: 0 / 0.7517 GB, free: 34.78 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1712, allocations: 4 kB / 0.7517 GB, free: 34.77 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.1716, allocations: 139.8 kB / 0.7519 GB, free: 34.64 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.1721, allocations: 380.6 kB / 0.7522 GB, free: 34.21 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.1724, allocations: 82.47 kB / 0.7523 GB, free: 34.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.1725, allocations: 80.92 kB / 0.7524 GB, free: 34.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1726, allocations: 0 / 0.7524 GB, free: 34.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.1726, allocations: 30.56 kB / 0.7524 GB, free: 34 MB / 490.8 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.1726, allocations: 4 kB / 0.7524 GB, free: 34 MB / 490.8 MB Notification: Performance of matching and sorting (n=6): time 0.0006383/0.1733, allocations: 233.5 kB / 0.7526 GB, free: 33.77 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.1733, allocations: 55.34 kB / 0.7527 GB, free: 33.7 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.747e-05/0.1734, allocations: 144.1 kB / 0.7528 GB, free: 33.54 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.1734, allocations: 29.7 kB / 0.7529 GB, free: 33.51 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.1734, allocations: 104 kB / 0.753 GB, free: 33.4 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.1735, allocations: 27.58 kB / 0.753 GB, free: 33.38 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.1735, allocations: 4 kB / 0.753 GB, free: 33.37 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.1735, allocations: 326.8 kB / 0.7533 GB, free: 33.04 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.1737, allocations: 55.95 kB / 0.7534 GB, free: 32.99 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.1739, allocations: 67.94 kB / 0.7534 GB, free: 32.92 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.1742, allocations: 140.8 kB / 0.7536 GB, free: 32.78 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1742, allocations: 0 / 0.7536 GB, free: 32.78 MB / 490.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003721/0.1746, allocations: 169.5 kB / 0.7537 GB, free: 32.61 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1746, allocations: 7.938 kB / 0.7537 GB, free: 32.6 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1747, allocations: 0 / 0.7537 GB, free: 32.6 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1747, allocations: 4 kB / 0.7537 GB, free: 32.6 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.1748, allocations: 39.91 kB / 0.7538 GB, free: 32.56 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1749, allocations: 0 / 0.7538 GB, free: 32.56 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.175, allocations: 31.91 kB / 0.7538 GB, free: 32.53 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.175, allocations: 4 kB / 0.7538 GB, free: 32.52 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 (7): * Single equations (assignments): 7 * 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.295e-05/0.1751, allocations: 120.7 kB / 0.7539 GB, free: 32.4 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.1751, allocations: 12.09 kB / 0.7539 GB, free: 32.39 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.1751, allocations: 8.719 kB / 0.7539 GB, free: 32.38 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1751, allocations: 0 / 0.7539 GB, free: 32.38 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1751, allocations: 8 kB / 0.7539 GB, free: 32.37 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1751, allocations: 7.969 kB / 0.7539 GB, free: 32.36 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.1753, allocations: 205.5 kB / 0.7541 GB, free: 32.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1753, allocations: 0 / 0.7541 GB, free: 32.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1755, allocations: 35.97 kB / 0.7542 GB, free: 32.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1755, allocations: 3.938 kB / 0.7542 GB, free: 32.07 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1755, allocations: 0 / 0.7542 GB, free: 32.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1755, allocations: 0 / 0.7542 GB, free: 32.07 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1755, allocations: 0 / 0.7542 GB, free: 32.07 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.1761, allocations: 355.2 kB / 0.7545 GB, free: 31.71 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.1761, allocations: 84.95 kB / 0.7546 GB, free: 31.61 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1762, allocations: 11.97 kB / 0.7546 GB, free: 31.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.1763, allocations: 27.97 kB / 0.7546 GB, free: 31.57 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.1763, allocations: 7.984 kB / 0.7546 GB, free: 31.56 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1764, allocations: 4 kB / 0.7547 GB, free: 31.56 MB / 490.8 MB Notification: Performance of sorting global known variables: time 4.907e-05/0.1764, allocations: 106.3 kB / 0.7548 GB, free: 31.46 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1764, allocations: 0 / 0.7548 GB, free: 31.46 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001955/0.1766, allocations: 16 kB / 0.7548 GB, free: 31.44 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (variableGradientLimiter.y_aux) * 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.0001006/0.1767, allocations: 99.77 kB / 0.7549 GB, free: 31.33 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.1771, allocations: 139.8 kB / 0.755 GB, free: 31.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1771, allocations: 0 / 0.755 GB, free: 31.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.1773, allocations: 71.94 kB / 0.7551 GB, free: 31.12 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.1776, allocations: 18.89 kB / 0.7551 GB, free: 31.11 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.1783, allocations: 279.8 kB / 0.7553 GB, free: 30.81 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.1784, allocations: 0.7082 MB / 0.756 GB, free: 30.08 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 4.804e-05/0.1785, allocations: 4 kB / 0.756 GB, free: 30.07 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.1785, allocations: 11.44 kB / 0.7561 GB, free: 30.06 MB / 490.8 MB Notification: Performance of SimCode: time 2.71e-07/0.1785, allocations: 0 / 0.7561 GB, free: 30.06 MB / 490.8 MB Notification: Performance of Templates: time 0.002738/0.1813, allocations: 0.8754 MB / 0.7569 GB, free: 29.2 MB / 490.8 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe 2>&1)