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.01141/0.01141, allocations: 1.436 MB / 17.7 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1135/0.1135, allocations: 22.38 MB / 41.12 MB, free: 7.812 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.001104/0.001104, allocations: 100 kB / 48.6 MB, free: 304 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.00127/0.00127, allocations: 199.6 kB / 56.21 MB, free: 9.484 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.316/1.316, 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.8378/0.8378, allocations: 127.8 MB / 471.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 119.8 kB / 0.5547 GB, free: 16.34 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1331, 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.003196/0.1363, allocations: 2.269 MB / 0.6374 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1374, allocations: 0.67 MB / 0.638 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.1375, allocations: 4 kB / 0.638 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.173e-05/0.1376, allocations: 19.8 kB / 0.6381 GB, free: 11 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.695e-05/0.1377, allocations: 15.8 kB / 0.6381 GB, free: 10.99 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.1381, allocations: 111.7 kB / 0.6382 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1382, allocations: 87.7 kB / 0.6383 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1383, allocations: 29.06 kB / 0.6383 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.418e-05/0.1384, allocations: 43.77 kB / 0.6383 GB, free: 10.72 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.1384, allocations: 43.78 kB / 0.6384 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1385, allocations: 4 kB / 0.6384 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.1385, allocations: 8 kB / 0.6384 GB, free: 10.67 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.419e-05/0.1385, allocations: 19.92 kB / 0.6384 GB, free: 10.65 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.1386, allocations: 47.67 kB / 0.6384 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.1387, allocations: 83.69 kB / 0.6385 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1387, allocations: 0 / 0.6385 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1387, allocations: 0 / 0.6385 GB, free: 10.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1387, allocations: 4 kB / 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.0006009/0.1393, allocations: 427 kB / 0.6389 GB, free: 10.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1394, allocations: 12.03 kB / 0.6389 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.1394, allocations: 12.75 kB / 0.639 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1396, allocations: 196.6 kB / 0.6391 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1396, allocations: 8.375 kB / 0.6392 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1396, allocations: 12.12 kB / 0.6392 GB, free: 9.777 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.1399, allocations: 109.6 kB / 0.6393 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.14, allocations: 0 / 0.6393 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.14, allocations: 7.938 kB / 0.6393 GB, free: 9.656 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.14, allocations: 4 kB / 0.6393 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.1403, allocations: 99.89 kB / 0.6394 GB, free: 9.555 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.1409, allocations: 364.5 kB / 0.6397 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.1412, allocations: 78.53 kB / 0.6398 GB, free: 9.062 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.1414, allocations: 60.86 kB / 0.6399 GB, free: 9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1414, allocations: 3.984 kB / 0.6399 GB, free: 8.996 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1414, allocations: 30.56 kB / 0.6399 GB, free: 8.957 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1414, allocations: 0 / 0.6399 GB, free: 8.957 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006419/0.1421, allocations: 189.5 kB / 0.6401 GB, free: 8.766 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1421, allocations: 59.34 kB / 0.6401 GB, free: 8.695 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1422, allocations: 144.5 kB / 0.6403 GB, free: 8.539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1423, allocations: 29.7 kB / 0.6403 GB, free: 8.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.1423, allocations: 108 kB / 0.6404 GB, free: 8.395 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.1424, allocations: 23.66 kB / 0.6404 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1424, allocations: 21.7 kB / 0.6404 GB, free: 8.344 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1425, allocations: 318.8 kB / 0.6407 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.1427, allocations: 55.88 kB / 0.6408 GB, free: 7.969 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.1429, allocations: 51.95 kB / 0.6409 GB, free: 7.918 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.1432, allocations: 100.8 kB / 0.6409 GB, free: 7.816 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1433, allocations: 0 / 0.6409 GB, free: 7.816 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004029/0.1437, allocations: 141.5 kB / 0.6411 GB, free: 7.672 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1437, allocations: 11.94 kB / 0.6411 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.1437, allocations: 3.984 kB / 0.6411 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1437, allocations: 0 / 0.6411 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.1439, allocations: 27.92 kB / 0.6411 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.1439, allocations: 8.219 kB / 0.6411 GB, free: 7.621 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.144, allocations: 15.98 kB / 0.6411 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.144, allocations: 3.984 kB / 0.6412 GB, free: 7.602 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 7.593e-05/0.1441, allocations: 119.3 kB / 0.6413 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.1442, allocations: 11.84 kB / 0.6413 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.1442, allocations: 20.7 kB / 0.6413 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.1442, allocations: 0 / 0.6413 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1442, allocations: 0 / 0.6413 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1442, allocations: 11.94 kB / 0.6413 GB, free: 7.438 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.1445, allocations: 201.5 kB / 0.6415 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1445, allocations: 3.984 kB / 0.6415 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.1446, allocations: 19.98 kB / 0.6415 GB, free: 7.168 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1446, allocations: 3.938 kB / 0.6415 GB, free: 7.164 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1447, allocations: 4.234 kB / 0.6415 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.1447, allocations: 4 kB / 0.6415 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1447, allocations: 4 kB / 0.6415 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.1453, allocations: 299.2 kB / 0.6418 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.1454, allocations: 88.98 kB / 0.6419 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1454, allocations: 7.922 kB / 0.6419 GB, free: 6.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.1456, allocations: 20.05 kB / 0.6419 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.1456, allocations: 7.984 kB / 0.6419 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1456, allocations: 0 / 0.6419 GB, free: 6.703 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.337e-05/0.1457, allocations: 113.5 kB / 0.642 GB, free: 6.594 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1457, allocations: 0 / 0.642 GB, free: 6.594 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.146, allocations: 16 kB / 0.6421 GB, free: 6.578 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.0001032/0.1461, allocations: 95.25 kB / 0.6422 GB, free: 6.473 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.1465, allocations: 111.8 kB / 0.6423 GB, free: 6.363 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1465, allocations: 4 kB / 0.6423 GB, free: 6.359 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.1467, allocations: 55.95 kB / 0.6423 GB, free: 6.305 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.147, allocations: 19.92 kB / 0.6423 GB, free: 6.285 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007048/0.1477, allocations: 235.1 kB / 0.6426 GB, free: 6.023 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.148, allocations: 0.6961 MB / 0.6432 GB, free: 5.301 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.54e-05/0.148, allocations: 11.98 kB / 0.6433 GB, free: 5.289 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.1481, allocations: 15.38 kB / 0.6433 GB, free: 5.277 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1481, allocations: 0 / 0.6433 GB, free: 5.277 MB / 478.1 MB Notification: Performance of Templates: time 0.003199/0.1513, allocations: 1.083 MB / 0.6443 GB, free: 4.215 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 gbode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe 2>&1)