Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Annex60.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.004782/0.004782, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001322/0.001322, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.443/0.443, allocations: 54.95 MB / 324.9 MB, free: 104 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 68.66 kB / 456.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.168, allocations: 59.59 MB / 0.5038 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.CubicHermite): time 0.001768/0.1698, allocations: 0.5643 MB / 0.5044 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1714, allocations: 1.418 MB / 0.5058 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.1715, allocations: 1.312 kB / 0.5058 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.582e-05/0.1716, allocations: 3.938 kB / 0.5058 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.087e-05/0.1716, allocations: 9.297 kB / 0.5058 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006558/0.1723, allocations: 176.6 kB / 0.5059 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.1724, allocations: 54.3 kB / 0.506 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.1725, allocations: 1.562 kB / 0.506 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.635e-05/0.1725, allocations: 20.8 kB / 0.506 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.1726, allocations: 25.97 kB / 0.506 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1726, allocations: 6.531 kB / 0.506 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.1729, allocations: 206.6 kB / 0.5062 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.173, allocations: 6.688 kB / 0.5062 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.1731, allocations: 31.05 kB / 0.5063 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.1734, allocations: 185.1 kB / 0.5065 GB, free: 7.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1734, allocations: 0 / 0.5065 GB, free: 7.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1734, allocations: 0 / 0.5065 GB, free: 7.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1734, allocations: 0 / 0.5065 GB, free: 7.844 MB / 382.1 MB 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.0004297/0.1738, allocations: 442 kB / 0.5069 GB, free: 7.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1739, allocations: 9.625 kB / 0.5069 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1739, allocations: 11.59 kB / 0.5069 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1741, allocations: 176.3 kB / 0.5071 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1741, allocations: 3.125 kB / 0.5071 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1741, allocations: 6.688 kB / 0.5071 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1743, allocations: 104.3 kB / 0.5072 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.1743, allocations: 0 / 0.5072 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1743, allocations: 1.375 kB / 0.5072 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1743, allocations: 0 / 0.5072 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1745, allocations: 65.33 kB / 0.5072 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.1746, allocations: 171.3 kB / 0.5074 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1748, allocations: 85.69 kB / 0.5075 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1749, allocations: 65.67 kB / 0.5075 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1749, allocations: 9.234 kB / 0.5075 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1749, allocations: 31.56 kB / 0.5076 GB, free: 6.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1749, allocations: 0 / 0.5076 GB, free: 6.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004108/0.1754, allocations: 255.5 kB / 0.5078 GB, free: 6.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.1754, allocations: 85.14 kB / 0.5079 GB, free: 6.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.1755, allocations: 149.7 kB / 0.508 GB, free: 6.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.1755, allocations: 25.7 kB / 0.5081 GB, free: 6.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.1756, allocations: 88.14 kB / 0.5082 GB, free: 6.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.1756, allocations: 7.891 kB / 0.5082 GB, free: 6.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.1756, allocations: 29.72 kB / 0.5082 GB, free: 6.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.1757, allocations: 318.8 kB / 0.5085 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.1758, allocations: 99.94 kB / 0.5086 GB, free: 5.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.884e-05/0.1759, allocations: 111.9 kB / 0.5087 GB, free: 5.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.1761, allocations: 281.8 kB / 0.509 GB, free: 5.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1761, allocations: 3.938 kB / 0.509 GB, free: 5.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002504/0.1764, allocations: 328.7 kB / 0.5093 GB, free: 4.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.1764, allocations: 74.2 kB / 0.5094 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1764, allocations: 0 / 0.5094 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1764, allocations: 0 / 0.5094 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.1764, allocations: 0 / 0.5094 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1765, allocations: 0 / 0.5094 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.1766, allocations: 19.89 kB / 0.5094 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1766, allocations: 8 kB / 0.5094 GB, free: 4.883 MB / 382.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: 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 7.886e-05/0.1767, allocations: 147.5 kB / 0.5095 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.1767, allocations: 7.906 kB / 0.5095 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.1768, allocations: 12.25 kB / 0.5095 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1768, allocations: 0 / 0.5095 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1768, allocations: 0 / 0.5095 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1768, allocations: 0 / 0.5095 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.623e-05/0.1769, allocations: 173.6 kB / 0.5097 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1769, allocations: 0 / 0.5097 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1769, allocations: 4 kB / 0.5097 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1769, allocations: 0 / 0.5097 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1769, allocations: 8 kB / 0.5097 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1769, allocations: 3.938 kB / 0.5097 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1769, allocations: 3.984 kB / 0.5097 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.1771, allocations: 234.5 kB / 0.5099 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.1771, allocations: 85 kB / 0.51 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.1772, allocations: 4 kB / 0.51 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.471e-05/0.1772, allocations: 4.031 kB / 0.51 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.1773, allocations: 7.984 kB / 0.51 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.1773, allocations: 4 kB / 0.51 GB, free: 4.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.805e-05/0.1774, allocations: 103.3 kB / 0.5101 GB, free: 3.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1774, allocations: 0 / 0.5101 GB, free: 3.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1777, allocations: 67.98 kB / 0.5102 GB, free: 3.914 MB / 382.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 (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.0002385/0.1779, allocations: 147.2 kB / 0.5104 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.1782, allocations: 382.7 kB / 0.5107 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1782, allocations: 0 / 0.5107 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1783, allocations: 139.3 kB / 0.5109 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.1785, allocations: 7.938 kB / 0.5109 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.1789, allocations: 209.5 kB / 0.5111 GB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1792, allocations: 0.6962 MB / 0.5117 GB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.217e-06/0.1792, allocations: 0 / 0.5117 GB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.1793, allocations: 7.438 kB / 0.5117 GB, free: 2.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1793, allocations: 4.125 kB / 0.5117 GB, free: 2.238 MB / 382.1 MB Notification: Performance of Templates: time 0.004403/0.1837, allocations: 2.03 MB / 0.5137 GB, free: 224 kB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)