Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01101/0.01101, allocations: 1.434 MB / 17.69 MB, free: 4.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1355/0.1355, allocations: 22.38 MB / 41.12 MB, free: 7.578 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.001198/0.001198, allocations: 112 kB / 48.62 MB, free: 52 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 193.8 kB / 56.21 MB, free: 9.438 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.355/1.355, allocations: 222.9 MB / 286.6 MB, free: 13.97 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8536/0.8536, allocations: 127.8 MB / 471.2 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 127.8 kB / 0.5547 GB, free: 16.33 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1618, allocations: 82.35 MB / 0.6352 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter): time 0.003532/0.1654, allocations: 2.276 MB / 0.6374 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1666, allocations: 0.6738 MB / 0.638 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.1667, allocations: 3.938 kB / 0.638 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1668, allocations: 11.88 kB / 0.6381 GB, free: 11 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.1669, allocations: 15.81 kB / 0.6381 GB, free: 10.99 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.1673, allocations: 107.7 kB / 0.6382 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1674, allocations: 95.69 kB / 0.6383 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1676, allocations: 33.03 kB / 0.6383 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.115e-05/0.1676, allocations: 39.8 kB / 0.6383 GB, free: 10.72 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.612e-05/0.1677, allocations: 47.77 kB / 0.6384 GB, free: 10.67 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1678, allocations: 8 kB / 0.6384 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.528e-05/0.1678, allocations: 4 kB / 0.6384 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.1678, allocations: 23.91 kB / 0.6384 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.1679, allocations: 39.73 kB / 0.6384 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.168, allocations: 83.7 kB / 0.6385 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.168, allocations: 0 / 0.6385 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.168, allocations: 0 / 0.6385 GB, free: 10.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.168, 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006494/0.1687, allocations: 431 kB / 0.6389 GB, free: 10.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1687, allocations: 12.03 kB / 0.639 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.1688, allocations: 12.75 kB / 0.639 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.169, allocations: 196.6 kB / 0.6392 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.169, allocations: 4.375 kB / 0.6392 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.169, allocations: 12.12 kB / 0.6392 GB, free: 9.777 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.1693, allocations: 105.6 kB / 0.6393 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1694, allocations: 3.938 kB / 0.6393 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1694, allocations: 0 / 0.6393 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1694, allocations: 4 kB / 0.6393 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.1697, allocations: 107.9 kB / 0.6394 GB, free: 9.555 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.1703, allocations: 372.4 kB / 0.6397 GB, free: 9.141 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.1706, allocations: 74.52 kB / 0.6398 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.1708, allocations: 60.94 kB / 0.6399 GB, free: 8.996 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1708, allocations: 3.938 kB / 0.6399 GB, free: 8.992 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1708, allocations: 30.56 kB / 0.6399 GB, free: 8.953 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1708, allocations: 0 / 0.6399 GB, free: 8.953 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006339/0.1715, allocations: 193.4 kB / 0.6401 GB, free: 8.758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1715, allocations: 55.34 kB / 0.6401 GB, free: 8.691 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1716, allocations: 139.2 kB / 0.6403 GB, free: 8.539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1717, allocations: 25.7 kB / 0.6403 GB, free: 8.508 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.1717, allocations: 112 kB / 0.6404 GB, free: 8.395 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1718, allocations: 23.64 kB / 0.6404 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.1718, allocations: 17.72 kB / 0.6404 GB, free: 8.348 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1719, allocations: 322.8 kB / 0.6407 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.1721, allocations: 47.95 kB / 0.6408 GB, free: 7.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.1723, allocations: 59.88 kB / 0.6408 GB, free: 7.918 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.1726, allocations: 104.9 kB / 0.6409 GB, free: 7.812 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1726, allocations: 0 / 0.6409 GB, free: 7.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003855/0.173, allocations: 149.5 kB / 0.6411 GB, free: 7.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1731, allocations: 11.94 kB / 0.6411 GB, free: 7.648 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1731, allocations: 0 / 0.6411 GB, free: 7.648 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1731, allocations: 0 / 0.6411 GB, free: 7.648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.1733, allocations: 23.97 kB / 0.6411 GB, free: 7.625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1733, allocations: 7.938 kB / 0.6411 GB, free: 7.617 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.837e-05/0.1734, allocations: 19.97 kB / 0.6411 GB, free: 7.598 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.1734, allocations: 8 kB / 0.6412 GB, free: 7.59 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 (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 8.227e-05/0.1735, allocations: 111.4 kB / 0.6413 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.1735, allocations: 15.84 kB / 0.6413 GB, free: 7.457 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.1735, allocations: 8.719 kB / 0.6413 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1736, allocations: 0 / 0.6413 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.1736, allocations: 7.938 kB / 0.6413 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1736, allocations: 0 / 0.6413 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.1738, allocations: 201.5 kB / 0.6415 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1738, allocations: 4 kB / 0.6415 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1739, allocations: 27.97 kB / 0.6415 GB, free: 7.168 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1739, allocations: 3.938 kB / 0.6415 GB, free: 7.164 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.174, allocations: 0 / 0.6415 GB, free: 7.164 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.174, allocations: 4.25 kB / 0.6415 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.174, allocations: 0 / 0.6415 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.1746, allocations: 307.2 kB / 0.6418 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.1747, allocations: 88.98 kB / 0.6419 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.1747, allocations: 3.938 kB / 0.6419 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1748, allocations: 23.97 kB / 0.6419 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.1749, allocations: 8 kB / 0.6419 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1749, allocations: 0 / 0.6419 GB, free: 6.703 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.093e-05/0.175, allocations: 114.4 kB / 0.642 GB, free: 6.594 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.175, allocations: 0 / 0.642 GB, free: 6.594 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000221/0.1752, allocations: 12 kB / 0.6421 GB, free: 6.582 MB / 478.1 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.0001403/0.1754, allocations: 103.2 kB / 0.6422 GB, free: 6.469 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004189/0.1758, allocations: 115.8 kB / 0.6423 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1758, allocations: 0 / 0.6423 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.176, allocations: 55.94 kB / 0.6423 GB, free: 6.301 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1763, allocations: 11.94 kB / 0.6423 GB, free: 6.289 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.177, allocations: 246 kB / 0.6426 GB, free: 6.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.1773, allocations: 0.7039 MB / 0.6433 GB, free: 5.289 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.285e-05/0.1773, allocations: 4 kB / 0.6433 GB, free: 5.285 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.1774, allocations: 11.44 kB / 0.6433 GB, free: 5.277 MB / 478.1 MB Notification: Performance of SimCode: time 2.445e-06/0.1774, allocations: 0 / 0.6433 GB, free: 5.277 MB / 478.1 MB Notification: Performance of Templates: time 0.003364/0.1807, allocations: 1.078 MB / 0.6443 GB, free: 4.211 MB / 478.1 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 -s cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe 2>&1)