Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.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.TestParameterizableTable1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.007304/0.007304, allocations: 1.433 MB / 17.7 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1131/0.1131, allocations: 22.38 MB / 41.12 MB, free: 7.82 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.001075/0.001075, allocations: 108 kB / 48.61 MB, free: 308 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.001253/0.001253, allocations: 191.1 kB / 56.2 MB, free: 9.5 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.369/1.369, allocations: 222.9 MB / 286.6 MB, free: 13.99 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8805/0.8805, allocations: 127.8 MB / 471.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 123.8 kB / 0.5547 GB, free: 16.33 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1627, allocations: 82.36 MB / 0.6352 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.002698/0.1655, allocations: 1.296 MB / 0.6364 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004214/0.1659, allocations: 159.5 kB / 0.6366 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.166, allocations: 4 kB / 0.6366 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.1662, allocations: 23.91 kB / 0.6366 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.874e-05/0.1662, allocations: 15.92 kB / 0.6366 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.1665, allocations: 35.89 kB / 0.6367 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.1666, allocations: 43.91 kB / 0.6367 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.1667, allocations: 11.94 kB / 0.6367 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.1668, allocations: 19.91 kB / 0.6367 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.726e-05/0.1669, allocations: 27.86 kB / 0.6368 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1669, allocations: 7.938 kB / 0.6368 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.721e-05/0.1669, allocations: 11.98 kB / 0.6368 GB, free: 12.33 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.167, allocations: 8 kB / 0.6368 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.167, allocations: 19.86 kB / 0.6368 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.1672, allocations: 51.81 kB / 0.6369 GB, free: 12.25 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1672, allocations: 4 kB / 0.6369 GB, free: 12.25 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1672, allocations: 0 / 0.6369 GB, free: 12.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1672, allocations: 0 / 0.6369 GB, free: 12.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005028/0.1677, allocations: 355.3 kB / 0.6372 GB, free: 11.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1678, allocations: 12.03 kB / 0.6372 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.1678, allocations: 8.844 kB / 0.6372 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.168, allocations: 190.6 kB / 0.6374 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.168, allocations: 384 / 0.6374 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.168, allocations: 4.375 kB / 0.6374 GB, free: 11.6 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1682, allocations: 58.17 kB / 0.6375 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1682, allocations: 192 / 0.6375 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1682, allocations: 3.938 kB / 0.6375 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.1682, allocations: 3.984 kB / 0.6375 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.279e-05/0.1683, allocations: 20 kB / 0.6375 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.1687, allocations: 269 kB / 0.6377 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.786e-05/0.1688, allocations: 30.5 kB / 0.6378 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.1688, allocations: 20.8 kB / 0.6378 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1689, allocations: 0 / 0.6378 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.1689, allocations: 38.5 kB / 0.6378 GB, free: 11.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 3.436e-06/0.1689, allocations: 4 kB / 0.6378 GB, free: 11.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002132/0.1691, allocations: 73.67 kB / 0.6379 GB, free: 11.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.1692, allocations: 51.41 kB / 0.6379 GB, free: 10.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1693, allocations: 130.1 kB / 0.6381 GB, free: 10.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1693, allocations: 25.7 kB / 0.6381 GB, free: 10.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.1694, allocations: 95.98 kB / 0.6382 GB, free: 10.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-06/0.1694, allocations: 7.906 kB / 0.6382 GB, free: 10.67 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.1695, allocations: 21.7 kB / 0.6382 GB, free: 10.64 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1696, allocations: 322.8 kB / 0.6385 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/0.1697, allocations: 23.92 kB / 0.6385 GB, free: 10.29 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.1697, allocations: 33.7 kB / 0.6386 GB, free: 10.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.437e-05/0.1698, allocations: 45.7 kB / 0.6386 GB, free: 10.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.1698, allocations: 3.938 kB / 0.6386 GB, free: 10.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002126/0.17, allocations: 102.4 kB / 0.6387 GB, free: 10.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.17, allocations: 11.97 kB / 0.6387 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1701, allocations: 4 kB / 0.6387 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.1702, allocations: 16.84 kB / 0.6388 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.1703, allocations: 8.062 kB / 0.6388 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.1714, allocations: 1.392 MB / 0.6401 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.1714, allocations: 0 / 0.6401 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1715, allocations: 8.234 kB / 0.6401 GB, free: 8.504 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (table.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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.1716, allocations: 119.5 kB / 0.6402 GB, free: 8.379 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1716, allocations: 15.83 kB / 0.6403 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.1716, allocations: 7.906 kB / 0.6403 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1716, allocations: 0 / 0.6403 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.51e-07/0.1716, allocations: 0 / 0.6403 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.1716, allocations: 4 kB / 0.6403 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1718, allocations: 169.6 kB / 0.6404 GB, free: 8.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1718, allocations: 0 / 0.6404 GB, free: 8.137 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.695e-05/0.1718, allocations: 0 / 0.6404 GB, free: 8.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1718, allocations: 7.938 kB / 0.6404 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1718, allocations: 8 kB / 0.6404 GB, free: 8.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1719, allocations: 0 / 0.6404 GB, free: 8.121 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1719, allocations: 0 / 0.6404 GB, free: 8.121 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.172, allocations: 159.4 kB / 0.6406 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.172, allocations: 85.05 kB / 0.6407 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-06/0.172, allocations: 3.938 kB / 0.6407 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.1721, allocations: 4 kB / 0.6407 GB, free: 7.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.1721, allocations: 4 kB / 0.6407 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.1722, allocations: 4 kB / 0.6407 GB, free: 7.832 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.889e-05/0.1722, allocations: 99.25 kB / 0.6408 GB, free: 7.734 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1722, allocations: 0 / 0.6408 GB, free: 7.734 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.1725, allocations: 16 kB / 0.6408 GB, free: 7.719 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: 1 (table.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0002802/0.1727, allocations: 133.5 kB / 0.6409 GB, free: 7.598 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.173, allocations: 158.6 kB / 0.6411 GB, free: 7.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.173, allocations: 0 / 0.6411 GB, free: 7.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.049e-05/0.1731, allocations: 12 kB / 0.6411 GB, free: 7.418 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.1733, allocations: 8.125 kB / 0.6411 GB, free: 7.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.1736, allocations: 137.2 kB / 0.6412 GB, free: 7.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.1738, allocations: 0.6922 MB / 0.6419 GB, free: 6.531 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.653e-05/0.1739, allocations: 13.58 kB / 0.6419 GB, free: 6.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.1739, allocations: 7.438 kB / 0.6419 GB, free: 6.512 MB / 478.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1739, allocations: 0 / 0.6419 GB, free: 6.512 MB / 478.1 MB Notification: Performance of Templates: time 0.003411/0.1773, allocations: 0.8727 MB / 0.6428 GB, free: 5.645 MB / 478.1 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe 2>&1)