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.007392/0.007392, 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.11/0.11, allocations: 22.36 MB / 41.1 MB, free: 0.5703 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 109.8 kB / 48.6 MB, free: 2.152 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 186.4 kB / 56.2 MB, free: 6.188 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.341/1.341, allocations: 222.9 MB / 286.5 MB, free: 1.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8775/0.8775, allocations: 127.8 MB / 471.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002227, allocations: 119.3 kB / 0.5547 GB, free: 42.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1348, allocations: 82.35 MB / 0.6351 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.003555/0.1384, allocations: 2.173 MB / 0.6373 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1396, allocations: 0.6232 MB / 0.6379 GB, free: 9.129 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.1396, allocations: 0 / 0.6379 GB, free: 9.129 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.167e-05/0.1397, allocations: 3.938 kB / 0.6379 GB, free: 9.125 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.141e-05/0.1398, allocations: 23.8 kB / 0.6379 GB, free: 9.102 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.1402, allocations: 83.75 kB / 0.638 GB, free: 9.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.1404, allocations: 79.77 kB / 0.6381 GB, free: 8.941 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1405, allocations: 23.86 kB / 0.6381 GB, free: 8.918 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1406, allocations: 39.91 kB / 0.6381 GB, free: 8.879 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.1407, allocations: 43.83 kB / 0.6382 GB, free: 8.836 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.1408, allocations: 8 kB / 0.6382 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.141, allocations: 163.7 kB / 0.6383 GB, free: 8.668 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.1411, allocations: 15.92 kB / 0.6383 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.1411, allocations: 35.8 kB / 0.6384 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.1413, allocations: 135.6 kB / 0.6385 GB, free: 8.484 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1414, allocations: 0 / 0.6385 GB, free: 8.484 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1414, allocations: 3.938 kB / 0.6385 GB, free: 8.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1414, allocations: 0 / 0.6385 GB, free: 8.48 MB / 462.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.0007027/0.1421, allocations: 425.2 kB / 0.6389 GB, free: 8.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1421, allocations: 8.031 kB / 0.6389 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.1422, allocations: 8.844 kB / 0.6389 GB, free: 8.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1423, allocations: 180.1 kB / 0.6391 GB, free: 7.789 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1423, allocations: 4.312 kB / 0.6391 GB, free: 7.785 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1423, allocations: 8.375 kB / 0.6391 GB, free: 7.777 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.1427, allocations: 105.9 kB / 0.6392 GB, free: 7.668 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1427, allocations: 0 / 0.6392 GB, free: 7.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1427, allocations: 0 / 0.6392 GB, free: 7.668 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1427, allocations: 7.984 kB / 0.6392 GB, free: 7.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.1432, allocations: 111.9 kB / 0.6393 GB, free: 7.551 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1436, allocations: 304.7 kB / 0.6396 GB, free: 7.203 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.1439, allocations: 70.52 kB / 0.6397 GB, free: 7.125 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.1441, allocations: 68.92 kB / 0.6398 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1441, allocations: 4 kB / 0.6398 GB, free: 7.051 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.1442, allocations: 34.59 kB / 0.6398 GB, free: 7.008 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1442, allocations: 0 / 0.6398 GB, free: 7.008 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007547/0.1449, allocations: 201.4 kB / 0.64 GB, free: 6.805 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.145, allocations: 59.34 kB / 0.64 GB, free: 6.734 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1451, allocations: 128.5 kB / 0.6402 GB, free: 6.602 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1451, allocations: 29.7 kB / 0.6402 GB, free: 6.566 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.1452, allocations: 104 kB / 0.6403 GB, free: 6.461 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.1452, allocations: 15.73 kB / 0.6403 GB, free: 6.445 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1452, allocations: 17.72 kB / 0.6403 GB, free: 6.422 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1454, allocations: 326.8 kB / 0.6406 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.1456, allocations: 51.94 kB / 0.6407 GB, free: 6.043 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.1458, allocations: 59.95 kB / 0.6407 GB, free: 5.984 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.1462, allocations: 117 kB / 0.6409 GB, free: 5.867 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1462, allocations: 4 kB / 0.6409 GB, free: 5.863 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000473/0.1467, allocations: 149.5 kB / 0.641 GB, free: 5.711 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1467, allocations: 7.938 kB / 0.641 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1468, allocations: 3.984 kB / 0.641 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1468, allocations: 4 kB / 0.641 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.147, allocations: 27.97 kB / 0.641 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.147, allocations: 0 / 0.641 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.1471, allocations: 19.97 kB / 0.6411 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1471, allocations: 0 / 0.6411 GB, free: 5.648 MB / 462.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 8.55e-05/0.1472, allocations: 123.5 kB / 0.6412 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1472, allocations: 7.906 kB / 0.6412 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005221/0.1478, allocations: 165.9 kB / 0.6413 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1478, allocations: 0 / 0.6413 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1478, allocations: 4 kB / 0.6413 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1478, allocations: 0 / 0.6413 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.148, allocations: 193.5 kB / 0.6415 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.148, allocations: 4 kB / 0.6415 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.1482, allocations: 27.97 kB / 0.6416 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1482, allocations: 0 / 0.6416 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1482, allocations: 4 kB / 0.6416 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1482, allocations: 0 / 0.6416 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.1482, allocations: 0 / 0.6416 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.1488, allocations: 267.3 kB / 0.6418 GB, free: 4.793 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.1488, allocations: 85.02 kB / 0.6419 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1489, allocations: 0 / 0.6419 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.149, allocations: 23.97 kB / 0.6419 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.1491, allocations: 7.984 kB / 0.6419 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.1491, allocations: 4 kB / 0.6419 GB, free: 4.656 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.287e-05/0.1492, allocations: 99.27 kB / 0.642 GB, free: 4.559 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1492, allocations: 0 / 0.642 GB, free: 4.559 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1495, allocations: 27.78 kB / 0.6421 GB, free: 4.531 MB / 462.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.0001687/0.1496, allocations: 111.2 kB / 0.6422 GB, free: 4.414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.1501, allocations: 127.8 kB / 0.6423 GB, free: 4.289 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1502, allocations: 0 / 0.6423 GB, free: 4.289 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.1504, allocations: 59.94 kB / 0.6423 GB, free: 4.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1507, allocations: 15.98 kB / 0.6424 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.1511, allocations: 175.3 kB / 0.6425 GB, free: 4.016 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1514, allocations: 0.6962 MB / 0.6432 GB, free: 3.293 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.1514, allocations: 7.984 kB / 0.6432 GB, free: 3.285 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.1514, allocations: 15.44 kB / 0.6432 GB, free: 3.27 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1515, allocations: 0 / 0.6432 GB, free: 3.27 MB / 462.1 MB Notification: Performance of Templates: time 0.003762/0.1552, allocations: 1.268 MB / 0.6445 GB, free: 2.016 MB / 462.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 gbode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1)