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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",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.007496/0.007501, allocations: 1.431 MB / 17.68 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1101/0.1101, allocations: 22.37 MB / 41.1 MB, free: 7.535 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 119.9 kB / 48.61 MB, free: 0 / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001598, allocations: 192.3 kB / 56.2 MB, free: 9.289 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.35/1.35, allocations: 222.9 MB / 286.5 MB, free: 14.01 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8478/0.8478, allocations: 127.8 MB / 471.2 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 123.8 kB / 0.5547 GB, free: 16.34 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1722, allocations: 82.36 MB / 0.6352 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003244/0.1755, allocations: 2.161 MB / 0.6373 GB, free: 11.81 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1765, allocations: 0.6272 MB / 0.6379 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.1765, allocations: 4 kB / 0.6379 GB, free: 11.17 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.1766, allocations: 7.875 kB / 0.6379 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.1767, allocations: 15.84 kB / 0.6379 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.177, allocations: 99.69 kB / 0.638 GB, free: 11.05 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.1771, allocations: 75.72 kB / 0.6381 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1773, allocations: 19.98 kB / 0.6381 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1774, allocations: 35.89 kB / 0.6381 GB, free: 10.92 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.1774, allocations: 47.77 kB / 0.6382 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1775, allocations: 8 kB / 0.6382 GB, free: 10.87 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.1777, allocations: 163.7 kB / 0.6383 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.1777, allocations: 11.98 kB / 0.6383 GB, free: 10.7 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.1778, allocations: 35.8 kB / 0.6384 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.178, allocations: 143.5 kB / 0.6385 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.178, allocations: 0 / 0.6385 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.178, allocations: 0 / 0.6385 GB, free: 10.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.178, allocations: 0 / 0.6385 GB, free: 10.52 MB / 478.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.0006373/0.1787, allocations: 415.1 kB / 0.6389 GB, free: 10.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1787, allocations: 12.03 kB / 0.6389 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.1788, allocations: 8.844 kB / 0.6389 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1789, allocations: 188.1 kB / 0.6391 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1789, allocations: 4.375 kB / 0.6391 GB, free: 9.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.1789, allocations: 384 / 0.6391 GB, free: 9.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.1793, allocations: 109.9 kB / 0.6392 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1793, allocations: 0 / 0.6392 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1793, allocations: 4 kB / 0.6392 GB, free: 9.703 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1793, allocations: 0 / 0.6392 GB, free: 9.703 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.1797, allocations: 111.9 kB / 0.6393 GB, free: 9.594 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.1801, allocations: 312.7 kB / 0.6396 GB, free: 9.238 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1804, allocations: 78.44 kB / 0.6397 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.1806, allocations: 60.92 kB / 0.6398 GB, free: 9.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1806, allocations: 4 kB / 0.6398 GB, free: 9.086 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.1806, allocations: 34.56 kB / 0.6398 GB, free: 9.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1807, allocations: 0 / 0.6398 GB, free: 9.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007251/0.1814, allocations: 205.4 kB / 0.64 GB, free: 8.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.1814, allocations: 55.34 kB / 0.6401 GB, free: 8.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.876e-05/0.1815, allocations: 133.8 kB / 0.6402 GB, free: 8.629 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1815, allocations: 25.7 kB / 0.6402 GB, free: 8.598 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.1816, allocations: 92.12 kB / 0.6403 GB, free: 8.504 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.1816, allocations: 19.75 kB / 0.6403 GB, free: 8.484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.1817, allocations: 17.72 kB / 0.6403 GB, free: 8.461 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.1818, allocations: 326.8 kB / 0.6406 GB, free: 8.133 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.182, allocations: 51.94 kB / 0.6407 GB, free: 8.082 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.1822, allocations: 55.94 kB / 0.6407 GB, free: 8.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.1826, allocations: 112.7 kB / 0.6408 GB, free: 7.914 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1826, allocations: 4 kB / 0.6409 GB, free: 7.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004432/0.1831, allocations: 153.9 kB / 0.641 GB, free: 7.754 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1831, allocations: 4 kB / 0.641 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1831, allocations: 4 kB / 0.641 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1831, allocations: 3.984 kB / 0.641 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.1833, allocations: 27.97 kB / 0.641 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1833, allocations: 0 / 0.641 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.1834, allocations: 27.97 kB / 0.6411 GB, free: 7.688 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1834, allocations: 0 / 0.6411 GB, free: 7.688 MB / 478.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 7.429e-05/0.1835, allocations: 119.3 kB / 0.6412 GB, free: 7.562 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1836, allocations: 7.906 kB / 0.6412 GB, free: 7.555 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.1841, allocations: 165.8 kB / 0.6413 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1841, allocations: 0 / 0.6413 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1841, allocations: 0 / 0.6413 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1841, allocations: 0 / 0.6413 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.1843, allocations: 205.4 kB / 0.6415 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1843, allocations: 0 / 0.6415 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.1844, allocations: 27.97 kB / 0.6416 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1844, allocations: 0 / 0.6416 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1845, allocations: 4 kB / 0.6416 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1845, allocations: 0 / 0.6416 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1845, allocations: 7.984 kB / 0.6416 GB, free: 7.102 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.185, allocations: 255.4 kB / 0.6418 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.653e-05/0.185, allocations: 84.95 kB / 0.6419 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.185, allocations: 0 / 0.6419 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.1852, allocations: 23.91 kB / 0.6419 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1852, allocations: 15.92 kB / 0.6419 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1853, allocations: 4.125 kB / 0.6419 GB, free: 6.691 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.1853, allocations: 109.4 kB / 0.642 GB, free: 6.586 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1853, allocations: 0 / 0.642 GB, free: 6.586 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1856, allocations: 31.88 kB / 0.6421 GB, free: 6.555 MB / 478.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.0001442/0.1857, allocations: 99.23 kB / 0.6422 GB, free: 6.449 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004576/0.1862, allocations: 115.9 kB / 0.6423 GB, free: 6.336 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1862, allocations: 8 kB / 0.6423 GB, free: 6.328 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.1864, allocations: 67.88 kB / 0.6424 GB, free: 6.262 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.1867, allocations: 7.984 kB / 0.6424 GB, free: 6.254 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.1871, allocations: 179.4 kB / 0.6425 GB, free: 6.047 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1873, allocations: 0.7002 MB / 0.6432 GB, free: 5.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.971e-05/0.1874, allocations: 3.984 kB / 0.6432 GB, free: 5.316 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.1874, allocations: 11.44 kB / 0.6432 GB, free: 5.309 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1874, allocations: 0 / 0.6432 GB, free: 5.309 MB / 478.1 MB Notification: Performance of Templates: time 0.003512/0.191, allocations: 1.277 MB / 0.6445 GB, free: 4.043 MB / 478.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=480 -s cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1)