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.000856/0.000856, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009454/0.0009455, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.4 MB / 222.1 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4163/0.4163, allocations: 55.01 MB / 325.4 MB, free: 0.6602 MB / 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.0005708/0.000571, allocations: 20 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3568, allocations: 60.71 MB / 457.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006529/0.3575, allocations: 307.5 kB / 457.7 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3589, allocations: 1.367 MB / 459 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.359, allocations: 0 / 459 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.716e-05/0.3591, allocations: 5.031 kB / 459 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.972e-05/0.3591, allocations: 4.328 kB / 459 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.3596, allocations: 136.6 kB / 459.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.172e-05/0.3597, allocations: 33.23 kB / 459.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.898e-05/0.3598, allocations: 9.703 kB / 459.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.3598, allocations: 22.78 kB / 459.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.3599, allocations: 26.69 kB / 459.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.3599, allocations: 2.906 kB / 459.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.3601, allocations: 175.4 kB / 459.4 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.3602, allocations: 14.89 kB / 459.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.3602, allocations: 32.3 kB / 459.5 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.3604, allocations: 123.9 kB / 459.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3604, allocations: 0.625 kB / 459.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3604, allocations: 3 kB / 459.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.3604, allocations: 1.219 kB / 459.6 MB, free: 38.18 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.0002992/0.3607, allocations: 427.7 kB / 460 MB, free: 37.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.3607, allocations: 10.59 kB / 460 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3608, allocations: 11.66 kB / 460.1 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.841e-05/0.3609, allocations: 178 kB / 460.2 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3609, allocations: 3.875 kB / 460.2 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3609, allocations: 2.906 kB / 460.2 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3611, allocations: 95.61 kB / 460.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3611, allocations: 0.9375 kB / 460.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3611, allocations: 2.75 kB / 460.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3611, allocations: 1.641 kB / 460.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.3612, allocations: 62.89 kB / 460.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.3613, allocations: 170.2 kB / 460.6 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.904e-05/0.3614, allocations: 87.12 kB / 460.6 MB, free: 37.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.557e-05/0.3615, allocations: 73.48 kB / 460.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-06/0.3615, allocations: 0 / 460.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.3615, allocations: 32.45 kB / 460.8 MB, free: 37.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3615, allocations: 0 / 460.8 MB, free: 37.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003327/0.3619, allocations: 254.7 kB / 461 MB, free: 37.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.3619, allocations: 88.97 kB / 461.1 MB, free: 37.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.362, allocations: 145.6 kB / 461.2 MB, free: 36.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.362, allocations: 26.2 kB / 461.3 MB, free: 36.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.3621, allocations: 95.95 kB / 461.3 MB, free: 36.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.3621, allocations: 14.75 kB / 461.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.3621, allocations: 0 / 461.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.3622, allocations: 318.4 kB / 461.7 MB, free: 36.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3623, allocations: 104.6 kB / 461.8 MB, free: 36.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.422e-05/0.3624, allocations: 103.3 kB / 461.9 MB, free: 36.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.3625, allocations: 167.4 kB / 462 MB, free: 36.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3625, allocations: 0 / 462 MB, free: 36.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002817/0.3628, allocations: 316.8 kB / 462.3 MB, free: 36.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.3629, allocations: 69.88 kB / 462.4 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3629, allocations: 2 kB / 462.4 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3629, allocations: 0 / 462.4 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.3629, allocations: 3.375 kB / 462.4 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3629, allocations: 3.953 kB / 462.4 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.3631, allocations: 12.81 kB / 462.4 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.3631, allocations: 3.562 kB / 462.4 MB, free: 36.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/0.3632, allocations: 162.5 kB / 462.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.3632, allocations: 11.25 kB / 462.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.432e-05/0.3632, allocations: 7.812 kB / 462.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3632, allocations: 0 / 462.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3632, allocations: 0 / 462.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3632, allocations: 3.953 kB / 462.6 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.706e-05/0.3633, allocations: 170.2 kB / 462.8 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3633, allocations: 1 kB / 462.8 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-06/0.3633, allocations: 5.75 kB / 462.8 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3633, allocations: 3.938 kB / 462.8 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3633, allocations: 7.062 kB / 462.8 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3633, allocations: 0.625 kB / 462.8 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3633, allocations: 0 / 462.8 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.3636, allocations: 232.2 kB / 463 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.3636, allocations: 84.08 kB / 463.1 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.3636, allocations: 0.8125 kB / 463.1 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.686e-05/0.3637, allocations: 9.281 kB / 463.1 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.3638, allocations: 7.578 kB / 463.1 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.3638, allocations: 7.406 kB / 463.1 MB, free: 35.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.307e-05/0.3639, allocations: 107.7 kB / 463.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3639, allocations: 0.75 kB / 463.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.3641, allocations: 65.41 kB / 463.3 MB, free: 35.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/0.3644, allocations: 146.5 kB / 463.5 MB, free: 35.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.3647, allocations: 366.5 kB / 463.8 MB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3647, allocations: 3.469 kB / 463.8 MB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.3648, allocations: 138.6 kB / 464 MB, free: 35.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.365, allocations: 10.64 kB / 464 MB, free: 35.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.3653, allocations: 213.8 kB / 464.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.3655, allocations: 0.6956 MB / 464.9 MB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.224e-06/0.3655, allocations: 0 / 464.9 MB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-06/0.3655, allocations: 18.28 kB / 464.9 MB, free: 34.54 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3655, allocations: 0 / 464.9 MB, free: 34.54 MB / 382.1 MB Notification: Performance of Templates: time 0.003912/0.3694, allocations: 1.869 MB / 466.8 MB, free: 34.45 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: