Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.conf.json loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8379/0.8379, allocations: 122.9 MB / 138.2 MB, free: 10.42 MB / 122.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 184.6 kB / 164.5 MB, free: 12.33 MB / 138.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.7 MB / 416.4 MB, free: 15.06 MB / 330.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 93.28 kB / 493 MB, free: 18.33 MB / 362.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo): time 0.0847/0.0847, allocations: 20.5 MB / 0.5762 GB, free: 6.066 MB / 442.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004639, allocations: 15.31 kB / 0.6679 GB, free: 118.9 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.158, allocations: 81.84 MB / 0.7478 GB, free: 38.9 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testTableGain): time 0.002417/0.1605, allocations: 2.025 MB / 0.7498 GB, free: 36.87 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007712/0.1613, allocations: 0.5355 MB / 0.7503 GB, free: 36.31 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.1614, allocations: 0 / 0.7503 GB, free: 36.31 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1616, allocations: 95.69 kB / 0.7504 GB, free: 36.21 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.1618, allocations: 59.81 kB / 0.7505 GB, free: 36.16 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1621, allocations: 119 kB / 0.7506 GB, free: 36.04 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1623, allocations: 135.6 kB / 0.7507 GB, free: 35.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1624, allocations: 25.12 kB / 0.7507 GB, free: 35.88 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.1625, allocations: 51.7 kB / 0.7508 GB, free: 35.83 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1626, allocations: 63.75 kB / 0.7508 GB, free: 35.77 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1626, allocations: 4 kB / 0.7508 GB, free: 35.77 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.627e-05/0.1627, allocations: 39.92 kB / 0.7509 GB, free: 35.73 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.1628, allocations: 47.81 kB / 0.7509 GB, free: 35.68 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.1628, allocations: 69.33 kB / 0.751 GB, free: 35.61 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.163, allocations: 167.6 kB / 0.7512 GB, free: 35.44 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.163, allocations: 3.984 kB / 0.7512 GB, free: 35.44 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.582e-06/0.163, allocations: 0 / 0.7512 GB, free: 35.44 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1631, allocations: 4 kB / 0.7512 GB, free: 35.43 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004783/0.1635, allocations: 449.7 kB / 0.7516 GB, free: 34.95 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1636, allocations: 15.97 kB / 0.7516 GB, free: 34.93 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.1636, allocations: 16.75 kB / 0.7516 GB, free: 34.92 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.1638, allocations: 244.9 kB / 0.7519 GB, free: 34.64 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1638, allocations: 4.312 kB / 0.7519 GB, free: 34.63 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1639, allocations: 8.375 kB / 0.7519 GB, free: 34.62 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.1641, allocations: 101.8 kB / 0.752 GB, free: 34.52 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1641, allocations: 0 / 0.752 GB, free: 34.52 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1641, allocations: 0 / 0.752 GB, free: 34.52 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1641, allocations: 4 kB / 0.752 GB, free: 34.52 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.1643, allocations: 87.88 kB / 0.7521 GB, free: 34.43 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.1648, allocations: 384.6 kB / 0.7524 GB, free: 34 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.165, allocations: 98.53 kB / 0.7525 GB, free: 33.9 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.1652, allocations: 52.95 kB / 0.7526 GB, free: 33.84 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.1652, allocations: 3.938 kB / 0.7526 GB, free: 33.84 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.1652, allocations: 38.56 kB / 0.7526 GB, free: 33.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1652, allocations: 0 / 0.7526 GB, free: 33.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=6): time 0.0004322/0.1657, allocations: 193.4 kB / 0.7528 GB, free: 33.6 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.1657, allocations: 51.41 kB / 0.7528 GB, free: 33.54 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1659, allocations: 257 kB / 0.7531 GB, free: 33.28 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.1659, allocations: 25.7 kB / 0.7531 GB, free: 33.25 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.166, allocations: 132 kB / 0.7532 GB, free: 33.11 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.166, allocations: 15.75 kB / 0.7533 GB, free: 33.1 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.166, allocations: 4.109 kB / 0.7533 GB, free: 33.09 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.1661, allocations: 338.7 kB / 0.7536 GB, free: 32.75 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1662, allocations: 47.97 kB / 0.7536 GB, free: 32.71 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.1663, allocations: 43.91 kB / 0.7537 GB, free: 32.66 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.1665, allocations: 96.81 kB / 0.7538 GB, free: 32.57 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1665, allocations: 4 kB / 0.7538 GB, free: 32.56 MB / 490.8 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002269/0.1667, allocations: 137.8 kB / 0.7539 GB, free: 32.42 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1667, allocations: 5.25 kB / 0.7539 GB, free: 32.42 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1667, allocations: 12.05 kB / 0.7539 GB, free: 32.41 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1668, allocations: 0 / 0.7539 GB, free: 32.41 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.1669, allocations: 16 kB / 0.7539 GB, free: 32.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1669, allocations: 3.984 kB / 0.7539 GB, free: 32.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.1669, allocations: 11.84 kB / 0.7539 GB, free: 32.38 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1669, allocations: 7.938 kB / 0.7539 GB, free: 32.37 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (tableGain.table_block.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.29e-05/0.167, allocations: 133.8 kB / 0.7541 GB, free: 32.23 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.1671, allocations: 19.81 kB / 0.7541 GB, free: 32.21 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.1674, allocations: 163.3 kB / 0.7542 GB, free: 32.04 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1674, allocations: 0 / 0.7542 GB, free: 32.04 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1674, allocations: 0 / 0.7542 GB, free: 32.04 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1674, allocations: 3.984 kB / 0.7543 GB, free: 32.04 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1676, allocations: 221.5 kB / 0.7545 GB, free: 31.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1676, allocations: 3.984 kB / 0.7545 GB, free: 31.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.1677, allocations: 23.88 kB / 0.7545 GB, free: 31.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1677, allocations: 0 / 0.7545 GB, free: 31.75 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1677, allocations: 7.984 kB / 0.7545 GB, free: 31.74 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1677, allocations: 0 / 0.7545 GB, free: 31.74 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1677, allocations: 0 / 0.7545 GB, free: 31.74 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.168, allocations: 247.2 kB / 0.7547 GB, free: 31.48 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.168, allocations: 100.8 kB / 0.7548 GB, free: 31.36 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.168, allocations: 0 / 0.7548 GB, free: 31.36 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.1681, allocations: 15.98 kB / 0.7548 GB, free: 31.35 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1682, allocations: 4 kB / 0.7548 GB, free: 31.34 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1682, allocations: 4 kB / 0.7549 GB, free: 31.34 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1683, allocations: 196.4 kB / 0.755 GB, free: 31.15 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1683, allocations: 0 / 0.755 GB, free: 31.15 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002197/0.1686, allocations: 31.91 kB / 0.7551 GB, free: 31.12 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (tableGain.table_block.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008659/0.1694, allocations: 442.3 kB / 0.7555 GB, free: 30.83 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.1697, allocations: 99.92 kB / 0.7556 GB, free: 30.73 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1697, allocations: 0 / 0.7556 GB, free: 30.73 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.1698, allocations: 55.97 kB / 0.7556 GB, free: 30.68 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1702, allocations: 24.66 kB / 0.7557 GB, free: 30.65 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.1707, allocations: 358.4 kB / 0.756 GB, free: 30.28 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.1708, allocations: 0.7278 MB / 0.7567 GB, free: 29.52 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 6.655e-05/0.1709, allocations: 28.84 kB / 0.7567 GB, free: 29.49 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.1709, allocations: 15.44 kB / 0.7568 GB, free: 29.48 MB / 490.8 MB Notification: Performance of SimCode: time 8.52e-07/0.171, allocations: 0 / 0.7568 GB, free: 29.48 MB / 490.8 MB Notification: Performance of Templates: time 0.003841/0.1748, allocations: 1.76 MB / 0.7585 GB, free: 27.74 MB / 490.8 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 -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe 2>&1)