Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.004406/0.004405, allocations: 97.06 kB / 15.73 MB, free: 6.043 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.0009882/0.0009882, allocations: 195.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8057/0.8057, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.91 kB / 0.5814 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.4648, allocations: 80.2 MB / 0.6597 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001714/0.4665, allocations: 0.6039 MB / 0.6603 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.4683, allocations: 1.382 MB / 0.6617 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.4683, allocations: 0 / 0.6617 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.501e-05/0.4684, allocations: 10.16 kB / 0.6617 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.4685, allocations: 6.328 kB / 0.6617 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.4692, allocations: 181.8 kB / 0.6618 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.4694, allocations: 48.59 kB / 0.6619 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.4694, allocations: 2.922 kB / 0.6619 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.4695, allocations: 17.53 kB / 0.6619 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.4696, allocations: 27.27 kB / 0.6619 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.4696, allocations: 6.469 kB / 0.6619 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.47, allocations: 203.5 kB / 0.6621 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.4701, allocations: 18.89 kB / 0.6622 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.4701, allocations: 17.84 kB / 0.6622 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.4704, allocations: 185.8 kB / 0.6624 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4704, allocations: 3.938 kB / 0.6624 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4704, allocations: 0 / 0.6624 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.4705, allocations: 0 / 0.6624 GB, free: 8.715 MB / 0.4981 GB 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.0004595/0.4709, allocations: 445.7 kB / 0.6628 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.471, allocations: 10.16 kB / 0.6628 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.471, allocations: 11.7 kB / 0.6628 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.4712, allocations: 177 kB / 0.663 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4712, allocations: 6.094 kB / 0.663 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.4712, allocations: 1.938 kB / 0.663 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.4714, allocations: 105.9 kB / 0.6631 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4714, allocations: 0 / 0.6631 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.4714, allocations: 5.094 kB / 0.6631 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.4715, allocations: 1.375 kB / 0.6631 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.4716, allocations: 63.73 kB / 0.6631 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.4717, allocations: 180.5 kB / 0.6633 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.4719, allocations: 76.47 kB / 0.6634 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.582e-05/0.472, allocations: 70.39 kB / 0.6635 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-06/0.472, allocations: 0 / 0.6635 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.472, allocations: 35.56 kB / 0.6635 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.472, allocations: 1.156 kB / 0.6635 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0004443/0.4724, allocations: 254.5 kB / 0.6637 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.4725, allocations: 87.91 kB / 0.6638 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.4726, allocations: 142.2 kB / 0.664 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.4726, allocations: 27.89 kB / 0.664 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.4727, allocations: 95.12 kB / 0.6641 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.4727, allocations: 10.56 kB / 0.6641 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.4728, allocations: 28.7 kB / 0.6641 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.4728, allocations: 317.2 kB / 0.6644 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.473, allocations: 105 kB / 0.6645 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.4731, allocations: 103.8 kB / 0.6646 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.4734, allocations: 275.1 kB / 0.6649 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4734, allocations: 0 / 0.6649 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003472/0.4737, allocations: 329.1 kB / 0.6652 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.4738, allocations: 75.28 kB / 0.6653 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.4738, allocations: 0 / 0.6653 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4738, allocations: 1.219 kB / 0.6653 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.4738, allocations: 0 / 0.6653 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4738, allocations: 0.875 kB / 0.6653 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.474, allocations: 13.11 kB / 0.6653 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.474, allocations: 7.719 kB / 0.6653 GB, free: 6.324 MB / 0.4981 GB 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.596e-05/0.4741, allocations: 152.1 kB / 0.6654 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.4741, allocations: 11.8 kB / 0.6654 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.447e-05/0.4741, allocations: 9.422 kB / 0.6654 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4741, allocations: 0 / 0.6654 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4741, allocations: 0 / 0.6654 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4742, allocations: 5.156 kB / 0.6655 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.733e-05/0.4742, allocations: 172 kB / 0.6656 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4742, allocations: 1.281 kB / 0.6656 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-07/0.4742, allocations: 7.938 kB / 0.6656 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.4742, allocations: 0 / 0.6656 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4743, allocations: 2.75 kB / 0.6656 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4743, allocations: 4 kB / 0.6656 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4743, allocations: 1.438 kB / 0.6656 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.4745, allocations: 232.9 kB / 0.6659 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.4745, allocations: 86.19 kB / 0.6659 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.4746, allocations: 2.438 kB / 0.6659 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.4746, allocations: 7.25 kB / 0.6659 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.4747, allocations: 12.39 kB / 0.666 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.4747, allocations: 2.469 kB / 0.666 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.851e-05/0.4747, allocations: 106.3 kB / 0.6661 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4747, allocations: 0 / 0.6661 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002819/0.475, allocations: 64.41 kB / 0.6661 GB, free: 5.57 MB / 0.4981 GB 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.0002595/0.4753, allocations: 150.4 kB / 0.6663 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.4757, allocations: 378 kB / 0.6666 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4757, allocations: 0 / 0.6666 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.4758, allocations: 135.4 kB / 0.6668 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.476, allocations: 7.766 kB / 0.6668 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.4763, allocations: 226.3 kB / 0.667 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.4764, allocations: 0.6934 MB / 0.6677 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.36e-06/0.4765, allocations: 1.031 kB / 0.6677 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-06/0.4765, allocations: 8.469 kB / 0.6677 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4765, allocations: 4.125 kB / 0.6677 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.004452/0.4809, allocations: 2.037 MB / 0.6697 GB, free: 3.227 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)