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.00755/0.00755, allocations: 1.428 MB / 17.68 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1097/0.1097, allocations: 22.37 MB / 41.1 MB, free: 7.793 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.001078/0.001078, allocations: 99.98 kB / 48.59 MB, free: 284 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.0013/0.001301, allocations: 201.6 kB / 56.2 MB, free: 9.488 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.336/1.336, allocations: 222.9 MB / 286.5 MB, free: 14.02 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8651/0.8651, allocations: 127.8 MB / 471.2 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 123.8 kB / 0.5547 GB, free: 16.33 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1456, allocations: 82.35 MB / 0.6352 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testTableGain): time 0.003763/0.1494, allocations: 2.337 MB / 0.6374 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009272/0.1504, allocations: 0.4912 MB / 0.6379 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.1505, allocations: 4 kB / 0.6379 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1508, allocations: 87.62 kB / 0.638 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.1511, allocations: 83.67 kB / 0.6381 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.1516, allocations: 194.6 kB / 0.6383 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.1519, allocations: 151.6 kB / 0.6384 GB, free: 10.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.152, allocations: 33.48 kB / 0.6384 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1521, allocations: 59.7 kB / 0.6385 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1523, allocations: 79.67 kB / 0.6386 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.1523, allocations: 4 kB / 0.6386 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.821e-05/0.1524, allocations: 35.98 kB / 0.6386 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.1525, allocations: 51.77 kB / 0.6387 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.1526, allocations: 55.55 kB / 0.6387 GB, free: 10.31 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1528, allocations: 171.4 kB / 0.6389 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1529, allocations: 4 kB / 0.6389 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1529, allocations: 0 / 0.6389 GB, free: 10.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1529, allocations: 0 / 0.6389 GB, free: 10.14 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.0006446/0.1535, allocations: 486.3 kB / 0.6393 GB, free: 9.617 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1536, allocations: 8.031 kB / 0.6394 GB, free: 9.609 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.1536, allocations: 16.75 kB / 0.6394 GB, free: 9.594 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1539, allocations: 254.8 kB / 0.6396 GB, free: 9.301 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.154, allocations: 8.375 kB / 0.6396 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.154, allocations: 4.375 kB / 0.6396 GB, free: 9.289 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.1542, allocations: 81.72 kB / 0.6397 GB, free: 9.203 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1542, allocations: 3.984 kB / 0.6397 GB, free: 9.199 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1543, allocations: 0 / 0.6397 GB, free: 9.199 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.1543, allocations: 4 kB / 0.6397 GB, free: 9.195 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.1545, allocations: 59.95 kB / 0.6398 GB, free: 9.137 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/0.1551, allocations: 380.7 kB / 0.6401 GB, free: 8.715 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.1553, allocations: 78.59 kB / 0.6402 GB, free: 8.629 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1554, allocations: 40.77 kB / 0.6402 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.1555, allocations: 0 / 0.6402 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.1555, allocations: 42.56 kB / 0.6403 GB, free: 8.535 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1555, allocations: 0 / 0.6403 GB, free: 8.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004366/0.156, allocations: 145.4 kB / 0.6404 GB, free: 8.387 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.156, allocations: 55.39 kB / 0.6405 GB, free: 8.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.1563, allocations: 297 kB / 0.6408 GB, free: 8.023 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1564, allocations: 37.7 kB / 0.6408 GB, free: 7.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.1564, allocations: 124.1 kB / 0.6409 GB, free: 7.855 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1565, allocations: 19.72 kB / 0.6409 GB, free: 7.836 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.1565, allocations: 21.7 kB / 0.641 GB, free: 7.809 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1566, allocations: 330.8 kB / 0.6413 GB, free: 7.477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.1568, allocations: 27.97 kB / 0.6413 GB, free: 7.449 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.009e-05/0.1568, allocations: 31.97 kB / 0.6413 GB, free: 7.418 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.157, allocations: 68.81 kB / 0.6414 GB, free: 7.348 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1571, allocations: 4 kB / 0.6414 GB, free: 7.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002488/0.1573, allocations: 109.4 kB / 0.6415 GB, free: 7.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1573, allocations: 4 kB / 0.6415 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1573, allocations: 3.984 kB / 0.6415 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1574, allocations: 3.938 kB / 0.6415 GB, free: 7.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/0.1575, allocations: 15.98 kB / 0.6415 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1575, allocations: 4 kB / 0.6415 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.546e-05/0.1575, allocations: 11.94 kB / 0.6415 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1576, allocations: 7.922 kB / 0.6416 GB, free: 7.18 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.0001041/0.1577, allocations: 139.4 kB / 0.6417 GB, free: 7.035 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.1577, allocations: 19.72 kB / 0.6417 GB, free: 7.016 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.158, allocations: 122.9 kB / 0.6418 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.158, allocations: 4 kB / 0.6418 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.158, allocations: 0.5 kB / 0.6418 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1581, allocations: 4 kB / 0.6418 GB, free: 6.883 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.1583, allocations: 225.5 kB / 0.642 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1583, allocations: 4 kB / 0.642 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.712e-05/0.1584, allocations: 15.98 kB / 0.6421 GB, free: 6.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1584, allocations: 0 / 0.6421 GB, free: 6.594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1584, allocations: 0 / 0.6421 GB, free: 6.594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1584, allocations: 0 / 0.6421 GB, free: 6.594 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1584, allocations: 0 / 0.6421 GB, free: 6.594 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.1587, allocations: 215.2 kB / 0.6423 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.1588, allocations: 96.91 kB / 0.6424 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1588, allocations: 0 / 0.6424 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/0.1589, allocations: 4 kB / 0.6424 GB, free: 6.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1589, allocations: 7.984 kB / 0.6424 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.159, allocations: 3.938 kB / 0.6424 GB, free: 6.238 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.1592, allocations: 236.4 kB / 0.6426 GB, free: 6.008 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1592, allocations: 0 / 0.6426 GB, free: 6.008 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1594, allocations: 19.91 kB / 0.6426 GB, free: 5.988 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.0007875/0.1602, allocations: 352.2 kB / 0.643 GB, free: 5.785 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.1605, allocations: 71.94 kB / 0.643 GB, free: 5.715 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1605, allocations: 3.938 kB / 0.643 GB, free: 5.711 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1606, allocations: 35.97 kB / 0.6431 GB, free: 5.676 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.161, allocations: 42.56 kB / 0.6431 GB, free: 5.637 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.1616, allocations: 328.1 kB / 0.6434 GB, free: 5.289 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1619, allocations: 0.7353 MB / 0.6441 GB, free: 4.527 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.003e-05/0.162, allocations: 32.39 kB / 0.6442 GB, free: 4.496 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.162, allocations: 15.44 kB / 0.6442 GB, free: 4.48 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.162, allocations: 0 / 0.6442 GB, free: 4.48 MB / 478.1 MB Notification: Performance of Templates: time 0.00464/0.1667, allocations: 1.772 MB / 0.6459 GB, free: 2.73 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 gbode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe 2>&1)