Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.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.testTableGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain") translateModel(ClaRa.Components.Utilities.Blocks.Check.testTableGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.007356/0.007356, allocations: 1.428 MB / 17.68 MB, free: 4.781 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.11 MB, free: 7.539 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.001072/0.001072, allocations: 119.9 kB / 48.6 MB, free: 16 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.001281/0.00128, allocations: 188.3 kB / 56.2 MB, free: 9.414 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.359/1.359, allocations: 222.9 MB / 286.5 MB, free: 14 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8604/0.8604, allocations: 127.8 MB / 471.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 131.8 kB / 0.5547 GB, free: 16.33 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1679, allocations: 82.34 MB / 0.6351 GB, free: 14 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testTableGain): time 0.003689/0.1716, allocations: 2.353 MB / 0.6374 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008662/0.1725, allocations: 0.4912 MB / 0.6379 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.1726, allocations: 4 kB / 0.6379 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1729, allocations: 91.62 kB / 0.638 GB, free: 11.05 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.1732, allocations: 83.67 kB / 0.6381 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.1736, allocations: 193.7 kB / 0.6383 GB, free: 10.78 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.1739, allocations: 147.6 kB / 0.6384 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.174, allocations: 41.47 kB / 0.6385 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.934e-05/0.1741, allocations: 59.7 kB / 0.6385 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1742, allocations: 79.66 kB / 0.6386 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.1743, allocations: 8 kB / 0.6386 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.71e-05/0.1744, allocations: 32 kB / 0.6386 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.1744, allocations: 47.77 kB / 0.6387 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.1745, allocations: 59.55 kB / 0.6387 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1747, allocations: 167.4 kB / 0.6389 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1748, allocations: 4 kB / 0.6389 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1748, allocations: 0 / 0.6389 GB, free: 10.15 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1748, allocations: 0 / 0.6389 GB, free: 10.15 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005889/0.1754, allocations: 482.4 kB / 0.6394 GB, free: 9.629 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1754, allocations: 11.97 kB / 0.6394 GB, free: 9.617 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.1755, allocations: 16.75 kB / 0.6394 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.1757, allocations: 254.8 kB / 0.6396 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1758, allocations: 8.375 kB / 0.6396 GB, free: 9.301 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1758, allocations: 4.375 kB / 0.6396 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.176, allocations: 85.7 kB / 0.6397 GB, free: 9.207 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.176, allocations: 4 kB / 0.6397 GB, free: 9.203 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.176, allocations: 0 / 0.6397 GB, free: 9.203 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.176, allocations: 0 / 0.6397 GB, free: 9.203 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.1762, allocations: 59.95 kB / 0.6398 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.1768, allocations: 376.7 kB / 0.6401 GB, free: 8.727 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.177, allocations: 78.59 kB / 0.6402 GB, free: 8.641 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1771, allocations: 40.83 kB / 0.6403 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1771, allocations: 0 / 0.6403 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.1771, allocations: 38.56 kB / 0.6403 GB, free: 8.551 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1771, allocations: 3.938 kB / 0.6403 GB, free: 8.547 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003956/0.1775, allocations: 145.5 kB / 0.6404 GB, free: 8.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.1776, allocations: 51.41 kB / 0.6405 GB, free: 8.336 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.1779, allocations: 301 kB / 0.6408 GB, free: 8.035 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1779, allocations: 29.7 kB / 0.6408 GB, free: 8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.178, allocations: 128.1 kB / 0.6409 GB, free: 7.871 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.178, allocations: 27.69 kB / 0.6409 GB, free: 7.844 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.178, allocations: 17.72 kB / 0.641 GB, free: 7.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1781, allocations: 334.8 kB / 0.6413 GB, free: 7.484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.304e-05/0.1782, allocations: 24.03 kB / 0.6413 GB, free: 7.461 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.408e-05/0.1783, allocations: 35.97 kB / 0.6413 GB, free: 7.426 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.1785, allocations: 72.81 kB / 0.6414 GB, free: 7.352 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1785, allocations: 0 / 0.6414 GB, free: 7.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002314/0.1788, allocations: 109.4 kB / 0.6415 GB, free: 7.238 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1788, allocations: 6.344 kB / 0.6415 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1788, allocations: 4 kB / 0.6415 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1788, allocations: 0 / 0.6415 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.1789, allocations: 11.98 kB / 0.6415 GB, free: 7.219 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1789, allocations: 3.938 kB / 0.6415 GB, free: 7.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.26e-05/0.179, allocations: 19.92 kB / 0.6416 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.179, allocations: 7.938 kB / 0.6416 GB, free: 7.188 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 0.0001023/0.1791, allocations: 133.8 kB / 0.6417 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.1792, allocations: 19.72 kB / 0.6417 GB, free: 7.027 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.1795, allocations: 122.9 kB / 0.6418 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1795, allocations: 4 kB / 0.6418 GB, free: 6.898 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1795, allocations: 0 / 0.6418 GB, free: 6.898 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1795, allocations: 4 kB / 0.6418 GB, free: 6.895 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.1797, allocations: 225.5 kB / 0.6421 GB, free: 6.625 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1797, allocations: 0 / 0.6421 GB, free: 6.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.58e-05/0.1798, allocations: 15.98 kB / 0.6421 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1798, allocations: 0 / 0.6421 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1798, allocations: 256 / 0.6421 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1798, allocations: 4 kB / 0.6421 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1798, allocations: 3.984 kB / 0.6421 GB, free: 6.602 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.1801, allocations: 215.2 kB / 0.6423 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.1802, allocations: 96.91 kB / 0.6424 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1802, allocations: 0 / 0.6424 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.1803, allocations: 4 kB / 0.6424 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.1803, allocations: 3.984 kB / 0.6424 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.1804, allocations: 7.984 kB / 0.6424 GB, free: 6.246 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002021/0.1806, allocations: 232.4 kB / 0.6426 GB, free: 6.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1806, allocations: 4 kB / 0.6426 GB, free: 6.016 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1808, allocations: 23.84 kB / 0.6426 GB, free: 5.992 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 (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 Backend phase and start with SimCode phase: time 0.0008209/0.1816, allocations: 338.5 kB / 0.643 GB, free: 5.781 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.1819, allocations: 71.95 kB / 0.643 GB, free: 5.711 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1819, allocations: 3.938 kB / 0.643 GB, free: 5.707 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.182, allocations: 35.97 kB / 0.6431 GB, free: 5.672 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1824, allocations: 46.7 kB / 0.6431 GB, free: 5.633 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.183, allocations: 324.1 kB / 0.6434 GB, free: 5.289 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.1833, allocations: 0.7353 MB / 0.6441 GB, free: 4.527 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.663e-05/0.1834, allocations: 36.64 kB / 0.6442 GB, free: 4.492 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.1834, allocations: 15.44 kB / 0.6442 GB, free: 4.477 MB / 478.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1834, allocations: 0 / 0.6442 GB, free: 4.477 MB / 478.1 MB Notification: Performance of Templates: time 0.004359/0.1878, allocations: 1.754 MB / 0.6459 GB, free: 2.738 MB / 478.1 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe 2>&1)