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.001025/0.001025, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001024/0.001024, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.365/1.365, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3935/0.3935, allocations: 54.92 MB / 324.4 MB, free: 148 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.00132/0.00132, allocations: 67.91 kB / 394.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.138, allocations: 59.59 MB / 454.5 MB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.CubicHermite): time 0.2582/0.3963, allocations: 0.6328 MB / 455.1 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.3986, allocations: 1.416 MB / 456.5 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.3987, allocations: 0 / 456.5 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.029e-05/0.3989, allocations: 0 / 456.5 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.3989, allocations: 5.375 kB / 456.5 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007073/0.3997, allocations: 164.8 kB / 456.7 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.3998, allocations: 48.64 kB / 456.8 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.3998, allocations: 5.094 kB / 456.8 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.075e-05/0.3999, allocations: 23.61 kB / 456.8 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.176e-05/0.3999, allocations: 27.14 kB / 456.8 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.4, allocations: 2.844 kB / 456.8 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.4003, allocations: 197.1 kB / 457 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.4003, allocations: 12.69 kB / 457 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.4004, allocations: 27.95 kB / 457 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.4006, allocations: 185.6 kB / 457.2 MB, free: 38.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4006, allocations: 0.625 kB / 457.2 MB, free: 38.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.4007, allocations: 0 / 457.2 MB, free: 38.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.4007, allocations: 0.625 kB / 457.2 MB, free: 38.77 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.0004034/0.4011, allocations: 441.2 kB / 457.7 MB, free: 38.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4011, allocations: 7.875 kB / 457.7 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.4012, allocations: 13.39 kB / 457.7 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.341e-05/0.4013, allocations: 174 kB / 457.8 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.4013, allocations: 6.094 kB / 457.9 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.4013, allocations: 11.22 kB / 457.9 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.4015, allocations: 91.73 kB / 458 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.463e-06/0.4015, allocations: 1.312 kB / 458 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4015, allocations: 0.7969 kB / 458 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4015, allocations: 3.422 kB / 458 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.4016, allocations: 61.3 kB / 458 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.4017, allocations: 177.3 kB / 458.2 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.79e-05/0.4018, allocations: 81.75 kB / 458.3 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.4019, allocations: 76.02 kB / 458.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-06/0.4019, allocations: 2.062 kB / 458.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.402, allocations: 32.28 kB / 458.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.402, allocations: 2.906 kB / 458.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003471/0.4023, allocations: 255.3 kB / 458.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.4024, allocations: 83.39 kB / 458.7 MB, free: 37.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/0.4025, allocations: 138.6 kB / 458.8 MB, free: 37.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.4025, allocations: 28.7 kB / 458.9 MB, free: 37.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.4025, allocations: 91.73 kB / 459 MB, free: 37.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.4025, allocations: 18.38 kB / 459 MB, free: 37.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.4026, allocations: 29.91 kB / 459 MB, free: 37.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.4027, allocations: 318.9 kB / 459.3 MB, free: 37.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.4028, allocations: 104 kB / 459.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.522e-05/0.4029, allocations: 98.73 kB / 459.5 MB, free: 37.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.4031, allocations: 286.2 kB / 459.8 MB, free: 37.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4031, allocations: 0 / 459.8 MB, free: 37.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002751/0.4034, allocations: 321.4 kB / 460.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.4034, allocations: 73.23 kB / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4034, allocations: 0 / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.4034, allocations: 0 / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-06/0.4035, allocations: 3.281 kB / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.4035, allocations: 1.844 kB / 460.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.4036, allocations: 15.88 kB / 460.2 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.4036, allocations: 2.594 kB / 460.2 MB, free: 36.83 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.409e-05/0.4037, allocations: 160.5 kB / 460.4 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.4037, allocations: 10.69 kB / 460.4 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.22e-05/0.4037, allocations: 8.562 kB / 460.4 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.4037, allocations: 0 / 460.4 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4037, allocations: 0 / 460.4 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4038, allocations: 0 / 460.4 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.519e-05/0.4038, allocations: 185.4 kB / 460.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.4038, allocations: 0 / 460.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.4038, allocations: 0 / 460.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.4039, allocations: 3.031 kB / 460.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4039, allocations: 0.625 kB / 460.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.4039, allocations: 0 / 460.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4039, allocations: 2.75 kB / 460.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.4041, allocations: 235.7 kB / 460.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.4041, allocations: 80.2 kB / 460.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.4042, allocations: 1 kB / 460.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.4042, allocations: 6.75 kB / 460.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.4043, allocations: 6.219 kB / 460.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.4043, allocations: 2.938 kB / 460.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.561e-05/0.4043, allocations: 108.2 kB / 461 MB, free: 36.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.001e-06/0.4043, allocations: 0.8438 kB / 461 MB, free: 36.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000257/0.4046, allocations: 68.75 kB / 461.1 MB, free: 36.2 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.0002226/0.4048, allocations: 145.3 kB / 461.2 MB, free: 36.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.4052, allocations: 378.9 kB / 461.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4052, allocations: 0 / 461.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.4053, allocations: 135 kB / 461.7 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.4054, allocations: 13.5 kB / 461.7 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.4058, allocations: 225.5 kB / 462 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.406, allocations: 0.6946 MB / 462.6 MB, free: 35.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.492e-06/0.406, allocations: 0 / 462.6 MB, free: 35.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-06/0.406, allocations: 7.438 kB / 462.7 MB, free: 35.08 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.406, allocations: 0.5938 kB / 462.7 MB, free: 35.08 MB / 382.1 MB Notification: Performance of Templates: time 0.004336/0.4103, allocations: 2.004 MB / 464.7 MB, free: 34.98 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)