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.001045/0.001045, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4193/0.4193, allocations: 54.94 MB / 324.7 MB, free: 15.97 MB / 270.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.001731/0.001731, allocations: 64.38 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.139, allocations: 59.6 MB / 454.9 MB, free: 148 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.CubicHermite): time 0.2669/0.406, allocations: 0.5677 MB / 455.5 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.4079, allocations: 1.415 MB / 456.9 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.408, allocations: 0 / 456.9 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.873e-05/0.4081, allocations: 6.031 kB / 456.9 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.4082, allocations: 5.391 kB / 456.9 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007865/0.409, allocations: 174.8 kB / 457.1 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.4091, allocations: 53.89 kB / 457.1 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.4092, allocations: 3.875 kB / 457.2 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.4093, allocations: 16.42 kB / 457.2 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.4093, allocations: 32.62 kB / 457.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.4094, allocations: 3.281 kB / 457.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.4097, allocations: 192 kB / 457.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.4098, allocations: 20.72 kB / 457.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.4099, allocations: 21.88 kB / 457.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.4101, allocations: 188.6 kB / 457.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4102, allocations: 0 / 457.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4102, allocations: 1.312 kB / 457.6 MB, free: 38.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.4102, allocations: 5.438 kB / 457.6 MB, free: 38.75 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.0004252/0.4106, allocations: 441.6 kB / 458.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4107, allocations: 11.69 kB / 458.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.4107, allocations: 7.656 kB / 458.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.4108, allocations: 175.4 kB / 458.2 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.4109, allocations: 3.188 kB / 458.2 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.4109, allocations: 7.688 kB / 458.3 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.4111, allocations: 98.39 kB / 458.4 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4111, allocations: 3.5 kB / 458.4 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4111, allocations: 0 / 458.4 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4111, allocations: 0.6875 kB / 458.4 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.51e-05/0.4112, allocations: 60.61 kB / 458.4 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.4114, allocations: 174.8 kB / 458.6 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.4115, allocations: 81.8 kB / 458.7 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.4116, allocations: 77.84 kB / 458.7 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.4116, allocations: 0.875 kB / 458.7 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.4117, allocations: 30.56 kB / 458.8 MB, free: 37.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.4117, allocations: 2.188 kB / 458.8 MB, free: 37.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004261/0.4121, allocations: 251.6 kB / 459 MB, free: 37.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.4121, allocations: 87.31 kB / 459.1 MB, free: 37.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.4123, allocations: 141.5 kB / 459.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.4123, allocations: 25.7 kB / 459.3 MB, free: 37.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.4123, allocations: 89.23 kB / 459.4 MB, free: 37.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.4124, allocations: 18.77 kB / 459.4 MB, free: 37.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.4124, allocations: 28.19 kB / 459.4 MB, free: 37.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.4125, allocations: 317.8 kB / 459.7 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.4126, allocations: 106.6 kB / 459.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.4128, allocations: 103 kB / 459.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.413, allocations: 277.9 kB / 460.2 MB, free: 36.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.413, allocations: 0.5312 kB / 460.2 MB, free: 36.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003305/0.4134, allocations: 325.3 kB / 460.5 MB, free: 36.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/0.4135, allocations: 73.59 kB / 460.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4135, allocations: 0.6562 kB / 460.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.4135, allocations: 3.688 kB / 460.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.4135, allocations: 0.8125 kB / 460.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4135, allocations: 3.438 kB / 460.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.4138, allocations: 13.25 kB / 460.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.4138, allocations: 2.875 kB / 460.6 MB, free: 36.82 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 0.0001098/0.4139, allocations: 157.9 kB / 460.8 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.414, allocations: 11.72 kB / 460.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.81e-05/0.414, allocations: 7.125 kB / 460.8 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.414, allocations: 0 / 460.8 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.414, allocations: 0.5938 kB / 460.8 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.414, allocations: 3.312 kB / 460.8 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.4141, allocations: 176 kB / 460.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4141, allocations: 4.469 kB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-06/0.4141, allocations: 2.656 kB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4141, allocations: 0.7031 kB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4142, allocations: 3.531 kB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.4142, allocations: 3.781 kB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4142, allocations: 0 / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.4144, allocations: 230.5 kB / 461.2 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.4145, allocations: 81 kB / 461.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.4145, allocations: 6.906 kB / 461.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.553e-05/0.4146, allocations: 5.5 kB / 461.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.4146, allocations: 11.25 kB / 461.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.4147, allocations: 3.062 kB / 461.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.639e-05/0.4147, allocations: 109.4 kB / 461.4 MB, free: 36.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4147, allocations: 0 / 461.4 MB, free: 36.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.4151, allocations: 65.14 kB / 461.5 MB, free: 36.19 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.0002679/0.4153, allocations: 141.4 kB / 461.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.4157, allocations: 377.1 kB / 462 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4157, allocations: 0 / 462 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.4158, allocations: 139.4 kB / 462.1 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.416, allocations: 17.22 kB / 462.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.4163, allocations: 210.8 kB / 462.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.4165, allocations: 0.6897 MB / 463 MB, free: 35.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.082e-06/0.4165, allocations: 0 / 463 MB, free: 35.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/0.4165, allocations: 12.53 kB / 463 MB, free: 35.08 MB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.4165, allocations: 0 / 463 MB, free: 35.08 MB / 382.1 MB Notification: Performance of Templates: time 0.005029/0.4216, allocations: 2.054 MB / 465.1 MB, free: 34.97 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)