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.001006/0.001006, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001069/0.00107, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.352/1.352, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4078/0.4078, allocations: 54.93 MB / 324.3 MB, free: 4 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.001449/0.001449, allocations: 63.91 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1748, allocations: 59.59 MB / 454.3 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.CubicHermite): time 0.2894/0.4642, allocations: 0.632 MB / 454.9 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.4669, allocations: 1.448 MB / 456.4 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.467, allocations: 0.5312 kB / 456.4 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.839e-05/0.4672, allocations: 7.094 kB / 456.4 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.4672, allocations: 2.25 kB / 456.4 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008332/0.4681, allocations: 141.2 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.4682, allocations: 38.17 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.248e-05/0.4683, allocations: 0 / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.4683, allocations: 23.72 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.4684, allocations: 26.84 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.4684, allocations: 3.812 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00045/0.4689, allocations: 193.2 kB / 456.8 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.469, allocations: 8.516 kB / 456.8 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.804e-05/0.469, allocations: 33.23 kB / 456.9 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.4694, allocations: 182 kB / 457 MB, free: 38.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4695, allocations: 0 / 457 MB, free: 38.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4695, allocations: 0 / 457 MB, free: 38.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.4695, allocations: 0 / 457 MB, free: 38.94 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.0005235/0.47, allocations: 445.2 kB / 457.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.4701, allocations: 11.16 kB / 457.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.4701, allocations: 4.25 kB / 457.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.4703, allocations: 184.5 kB / 457.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.4703, allocations: 384 / 457.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.4703, allocations: 3.188 kB / 457.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.4705, allocations: 103 kB / 457.8 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4706, allocations: 0.5625 kB / 457.8 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4706, allocations: 0.625 kB / 457.8 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4706, allocations: 2.719 kB / 457.8 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.4707, allocations: 62.2 kB / 457.8 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.4709, allocations: 174.8 kB / 458 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.471, allocations: 82.52 kB / 458.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.4711, allocations: 73.2 kB / 458.2 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.4711, allocations: 7.062 kB / 458.2 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.4711, allocations: 30.56 kB / 458.2 MB, free: 37.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.4711, allocations: 0 / 458.2 MB, free: 37.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003989/0.4715, allocations: 254.9 kB / 458.4 MB, free: 37.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.4716, allocations: 79.52 kB / 458.5 MB, free: 37.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.4717, allocations: 142.8 kB / 458.7 MB, free: 37.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.4717, allocations: 27.27 kB / 458.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.4718, allocations: 87.64 kB / 458.8 MB, free: 37.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.4718, allocations: 21.84 kB / 458.8 MB, free: 37.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.4719, allocations: 26.31 kB / 458.8 MB, free: 37.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.472, allocations: 320.8 kB / 459.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.4721, allocations: 103.8 kB / 459.2 MB, free: 37.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.4722, allocations: 104.6 kB / 459.3 MB, free: 37.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.4725, allocations: 277.8 kB / 459.6 MB, free: 37.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4725, allocations: 0 / 459.6 MB, free: 37.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003086/0.4728, allocations: 329.2 kB / 459.9 MB, free: 37.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/0.4728, allocations: 66.88 kB / 460 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4729, allocations: 5.875 kB / 460 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4729, allocations: 0.9844 kB / 460 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.021e-06/0.4729, allocations: 1.438 kB / 460 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4729, allocations: 0 / 460 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.4731, allocations: 9.75 kB / 460 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.4731, allocations: 5.188 kB / 460 MB, free: 37 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 8.868e-05/0.4732, allocations: 155.8 kB / 460.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.4732, allocations: 11.31 kB / 460.2 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.551e-05/0.4733, allocations: 7.125 kB / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4733, allocations: 0 / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4733, allocations: 0 / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4733, allocations: 1.406 kB / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.611e-05/0.4734, allocations: 184 kB / 460.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4734, allocations: 0.8438 kB / 460.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.4734, allocations: 0 / 460.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4734, allocations: 0.8438 kB / 460.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.4734, allocations: 4.188 kB / 460.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4734, allocations: 0 / 460.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4734, allocations: 1.312 kB / 460.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.4737, allocations: 232.9 kB / 460.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.4737, allocations: 81.14 kB / 460.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.4737, allocations: 7.875 kB / 460.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/0.4738, allocations: 7.031 kB / 460.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.4739, allocations: 12.86 kB / 460.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.4739, allocations: 2.938 kB / 460.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.449e-05/0.4739, allocations: 108.4 kB / 460.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4739, allocations: 0 / 460.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003404/0.4743, allocations: 58.94 kB / 460.9 MB, free: 36.38 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.000274/0.4746, allocations: 147.6 kB / 461 MB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.475, allocations: 376.6 kB / 461.4 MB, free: 36.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.475, allocations: 3.375 kB / 461.4 MB, free: 36.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.4751, allocations: 139.4 kB / 461.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.4753, allocations: 15.97 kB / 461.5 MB, free: 36.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.4757, allocations: 214.3 kB / 461.7 MB, free: 35.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.4759, allocations: 0.698 MB / 462.4 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.041e-06/0.4759, allocations: 0 / 462.4 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-06/0.4759, allocations: 7.438 kB / 462.5 MB, free: 35.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4759, allocations: 0 / 462.5 MB, free: 35.25 MB / 382.1 MB Notification: Performance of Templates: time 0.005096/0.481, allocations: 1.923 MB / 464.4 MB, free: 35.16 MB / 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)