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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 170.1 kB / 16.11 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.3 MB / 240.1 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 96.94 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9619/0.9619, allocations: 122.9 MB / 465.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo): time 0.1234/0.1234, allocations: 20.28 MB / 0.549 GB, free: 19.22 MB / 378.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005802/0.0005803, allocations: 20 kB / 0.6406 GB, free: 5.855 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5636/0.5642, allocations: 81.84 MB / 0.7205 GB, free: 39.73 MB / 490.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.7689, allocations: 118.7 MB / 0.8365 GB, free: 7.047 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/0.7694, allocations: 91.94 kB / 0.8366 GB, free: 6.957 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.005794/0.7752, allocations: 1.888 MB / 0.8384 GB, free: 5.082 MB / 0.5418 GB Notification: Performance of FrontEnd: time 7.104e-06/0.7752, allocations: 3.984 kB / 0.8384 GB, free: 5.078 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.7752, allocations: 0 / 0.8384 GB, free: 5.078 MB / 0.5418 GB 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.0006898/0.7759, allocations: 427.1 kB / 0.8388 GB, free: 4.609 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.776, allocations: 8.031 kB / 0.8388 GB, free: 4.602 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.7761, allocations: 12.75 kB / 0.8389 GB, free: 4.59 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.7763, allocations: 197.5 kB / 0.839 GB, free: 4.359 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.7764, allocations: 4.375 kB / 0.839 GB, free: 4.355 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.7764, allocations: 12.38 kB / 0.8391 GB, free: 4.344 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.7768, allocations: 121.8 kB / 0.8392 GB, free: 4.219 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.7768, allocations: 0 / 0.8392 GB, free: 4.219 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.7768, allocations: 4 kB / 0.8392 GB, free: 4.215 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7768, allocations: 7.875 kB / 0.8392 GB, free: 4.207 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.7773, allocations: 131.9 kB / 0.8393 GB, free: 4.078 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.778, allocations: 388.5 kB / 0.8397 GB, free: 3.648 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.7783, allocations: 86.47 kB / 0.8398 GB, free: 3.555 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.7785, allocations: 76.92 kB / 0.8398 GB, free: 3.477 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.7786, allocations: 0 / 0.8398 GB, free: 3.477 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.7786, allocations: 34.56 kB / 0.8399 GB, free: 3.434 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.7786, allocations: 0 / 0.8399 GB, free: 3.434 MB / 0.5418 GB Notification: Performance of matching and sorting (n=6): time 0.0007407/0.7794, allocations: 233.4 kB / 0.8401 GB, free: 3.199 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.7794, allocations: 52.81 kB / 0.8401 GB, free: 3.137 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.7796, allocations: 156.2 kB / 0.8403 GB, free: 2.969 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.7796, allocations: 25.7 kB / 0.8403 GB, free: 2.938 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.7797, allocations: 108 kB / 0.8404 GB, free: 2.828 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.7798, allocations: 19.72 kB / 0.8404 GB, free: 2.809 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.7798, allocations: 0 / 0.8404 GB, free: 2.809 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.78, allocations: 318.8 kB / 0.8407 GB, free: 2.488 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.7802, allocations: 67.95 kB / 0.8408 GB, free: 2.422 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.7804, allocations: 67.94 kB / 0.8409 GB, free: 2.355 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.7808, allocations: 128.8 kB / 0.841 GB, free: 2.227 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.7808, allocations: 4 kB / 0.841 GB, free: 2.223 MB / 0.5418 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004679/0.7813, allocations: 181.4 kB / 0.8412 GB, free: 2.039 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7813, allocations: 4 kB / 0.8412 GB, free: 2.035 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.7813, allocations: 0 / 0.8412 GB, free: 2.035 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.7813, allocations: 3.938 kB / 0.8412 GB, free: 2.031 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.7815, allocations: 39.62 kB / 0.8412 GB, free: 1.996 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.7815, allocations: 0 / 0.8412 GB, free: 1.996 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.7817, allocations: 32.16 kB / 0.8412 GB, free: 1.965 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.7817, allocations: 0 / 0.8412 GB, free: 1.965 MB / 0.5418 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.7818, allocations: 114.5 kB / 0.8414 GB, free: 1.844 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.7818, allocations: 11.91 kB / 0.8414 GB, free: 1.832 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.7819, allocations: 20.66 kB / 0.8414 GB, free: 1.805 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7819, allocations: 0 / 0.8414 GB, free: 1.805 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7819, allocations: 4 kB / 0.8414 GB, free: 1.801 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.7819, allocations: 3.984 kB / 0.8414 GB, free: 1.797 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.7822, allocations: 201.5 kB / 0.8416 GB, free: 1.551 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7822, allocations: 4 kB / 0.8416 GB, free: 1.547 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.7824, allocations: 35.91 kB / 0.8416 GB, free: 1.512 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7824, allocations: 0 / 0.8416 GB, free: 1.512 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.7824, allocations: 3.938 kB / 0.8416 GB, free: 1.508 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7824, allocations: 4 kB / 0.8416 GB, free: 1.504 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7824, allocations: 0 / 0.8416 GB, free: 1.504 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.7832, allocations: 355.2 kB / 0.842 GB, free: 1.141 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.7833, allocations: 81.02 kB / 0.8421 GB, free: 1.043 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.7833, allocations: 3.938 kB / 0.8421 GB, free: 1.039 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.7834, allocations: 28.03 kB / 0.8421 GB, free: 1.012 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.7835, allocations: 11.98 kB / 0.8421 GB, free: 1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.7835, allocations: 4 kB / 0.8421 GB, free: 0.9961 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 7.763e-05/0.7836, allocations: 106.5 kB / 0.8422 GB, free: 0.8945 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7836, allocations: 0 / 0.8422 GB, free: 0.8945 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002186/0.7838, allocations: 12 kB / 0.8422 GB, free: 0.8828 MB / 0.5418 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001895/0.784, allocations: 111.1 kB / 0.8423 GB, free: 0.7656 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.7845, allocations: 139.9 kB / 0.8424 GB, free: 0.6289 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7845, allocations: 0 / 0.8424 GB, free: 0.6289 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.7847, allocations: 71.95 kB / 0.8425 GB, free: 0.5586 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.7851, allocations: 18.8 kB / 0.8425 GB, free: 0.543 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.7859, allocations: 263.7 kB / 0.8428 GB, free: 264 kB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.7863, allocations: 0.7004 MB / 0.8435 GB, free: 15.53 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 5.733e-05/0.7863, allocations: 11.94 kB / 0.8435 GB, free: 15.52 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.7864, allocations: 12.28 kB / 0.8435 GB, free: 15.51 MB / 0.5574 GB Notification: Performance of SimCode: time 2.41e-07/0.7864, allocations: 0 / 0.8435 GB, free: 15.51 MB / 0.5574 GB Notification: Performance of Templates: time 0.003463/0.7899, allocations: 0.8563 MB / 0.8443 GB, free: 14.69 MB / 0.5574 GB 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)