Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005772/0.005773, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 199.1 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8204/0.8204, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 65.34 kB / 0.5856 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1652, allocations: 80.93 MB / 0.6647 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.002263/0.1675, allocations: 0.6138 MB / 0.6653 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1696, allocations: 1.383 MB / 0.6666 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.1696, allocations: 4 kB / 0.6666 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.629e-05/0.1697, allocations: 4 kB / 0.6666 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.1698, allocations: 0 / 0.6666 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008284/0.1707, allocations: 183.5 kB / 0.6668 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.1708, allocations: 47.91 kB / 0.6669 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.1709, allocations: 7.984 kB / 0.6669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.1709, allocations: 15.98 kB / 0.6669 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/0.171, allocations: 23.91 kB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.171, allocations: 8 kB / 0.6669 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.1715, allocations: 203.7 kB / 0.6671 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.1715, allocations: 19.92 kB / 0.6671 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.1716, allocations: 15.88 kB / 0.6671 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.172, allocations: 191.5 kB / 0.6673 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.172, allocations: 0 / 0.6673 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.172, allocations: 4 kB / 0.6673 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.172, allocations: 0 / 0.6673 GB, free: 3.055 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000507/0.1725, allocations: 434.7 kB / 0.6677 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1725, allocations: 17.11 kB / 0.6678 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.1726, allocations: 8.844 kB / 0.6678 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1727, allocations: 176.2 kB / 0.6679 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1728, allocations: 384 / 0.6679 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.1728, allocations: 8.375 kB / 0.6679 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.173, allocations: 97.95 kB / 0.668 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.173, allocations: 0 / 0.668 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.173, allocations: 0 / 0.668 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.173, allocations: 0 / 0.668 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.1731, allocations: 63.89 kB / 0.6681 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.1733, allocations: 177.7 kB / 0.6683 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.1734, allocations: 78.47 kB / 0.6683 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.1735, allocations: 76.83 kB / 0.6684 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.1735, allocations: 0 / 0.6684 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1735, allocations: 34.5 kB / 0.6684 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1735, allocations: 0 / 0.6684 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003868/0.1739, allocations: 255.1 kB / 0.6687 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.174, allocations: 89.12 kB / 0.6688 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1741, allocations: 143.6 kB / 0.6689 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1742, allocations: 25.7 kB / 0.6689 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.1742, allocations: 100 kB / 0.669 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.1742, allocations: 3.906 kB / 0.669 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.1743, allocations: 29.7 kB / 0.6691 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1744, allocations: 318.8 kB / 0.6694 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1746, allocations: 107.9 kB / 0.6695 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1747, allocations: 99.94 kB / 0.6696 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.175, allocations: 274 kB / 0.6698 GB, free: 240 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.175, allocations: 0 / 0.6698 GB, free: 240 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003467/0.1754, allocations: 332.6 kB / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.119e-05/0.1754, allocations: 71.39 kB / 0.6702 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1754, allocations: 0 / 0.6702 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1755, allocations: 3.984 kB / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.1755, allocations: 0 / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1755, allocations: 0 / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.1756, allocations: 19.91 kB / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.1756, allocations: 4 kB / 0.6702 GB, free: 15.78 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 9.858e-05/0.1757, allocations: 147.5 kB / 0.6704 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.1757, allocations: 11.84 kB / 0.6704 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/0.1758, allocations: 12.23 kB / 0.6704 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1758, allocations: 0 / 0.6704 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1758, allocations: 0 / 0.6704 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1758, allocations: 0 / 0.6704 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.1759, allocations: 173.8 kB / 0.6706 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1759, allocations: 4 kB / 0.6706 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-06/0.1759, allocations: 3.938 kB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1759, allocations: 3.984 kB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1759, allocations: 8 kB / 0.6706 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.176, allocations: 0 / 0.6706 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.176, allocations: 3.938 kB / 0.6706 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1762, allocations: 230.6 kB / 0.6708 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.1763, allocations: 84.95 kB / 0.6709 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1763, allocations: 4.031 kB / 0.6709 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.865e-05/0.1764, allocations: 4 kB / 0.6709 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.1764, allocations: 15.92 kB / 0.6709 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1764, allocations: 4 kB / 0.6709 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.58e-05/0.1765, allocations: 104.8 kB / 0.671 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1765, allocations: 0 / 0.671 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002949/0.1768, allocations: 64 kB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002769/0.1771, allocations: 152.5 kB / 0.6712 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003918/0.1775, allocations: 378.6 kB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1775, allocations: 0 / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.1777, allocations: 135.3 kB / 0.6717 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.1778, allocations: 8 kB / 0.6717 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.1782, allocations: 209.5 kB / 0.6719 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1784, allocations: 0.6924 MB / 0.6726 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.913e-06/0.1785, allocations: 0 / 0.6726 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.04e-05/0.1785, allocations: 7.438 kB / 0.6726 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.1785, allocations: 4.125 kB / 0.6726 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.004906/0.1834, allocations: 2.04 MB / 0.6746 GB, free: 11.1 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)