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.0008229/0.0008231, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005251/0.005251, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7841/0.7841, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005231, allocations: 12.56 kB / 0.504 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4806, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008882/0.4815, allocations: 341 kB / 0.584 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.4834, allocations: 1.409 MB / 0.5854 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.4834, allocations: 0 / 0.5854 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.953e-05/0.4835, allocations: 0.5625 kB / 0.5854 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.4836, allocations: 3.156 kB / 0.5854 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.4842, allocations: 135.2 kB / 0.5855 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.701e-05/0.4843, allocations: 42.86 kB / 0.5856 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.4844, allocations: 3.312 kB / 0.5856 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.4844, allocations: 32.12 kB / 0.5856 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.4845, allocations: 28.52 kB / 0.5856 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.4845, allocations: 3.188 kB / 0.5856 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.4849, allocations: 186.6 kB / 0.5858 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.485, allocations: 10.81 kB / 0.5858 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.485, allocations: 52.73 kB / 0.5859 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.4854, allocations: 183.7 kB / 0.586 GB, free: 2.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.4854, allocations: 0.6562 kB / 0.586 GB, free: 2.582 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4854, allocations: 1.688 kB / 0.586 GB, free: 2.582 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.4854, allocations: 0 / 0.586 GB, free: 2.582 MB / 430.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.0004188/0.4858, allocations: 434.2 kB / 0.5865 GB, free: 2.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4859, allocations: 8.562 kB / 0.5865 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.4859, allocations: 10.09 kB / 0.5865 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.486, allocations: 173.5 kB / 0.5866 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.4861, allocations: 5.812 kB / 0.5866 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.4861, allocations: 2.781 kB / 0.5866 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.4864, allocations: 102.3 kB / 0.5867 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4864, allocations: 0 / 0.5867 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.4864, allocations: 5.641 kB / 0.5867 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4864, allocations: 0.6562 kB / 0.5867 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.4866, allocations: 60.95 kB / 0.5868 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.4868, allocations: 174.2 kB / 0.587 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.487, allocations: 85.3 kB / 0.5871 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.4871, allocations: 71.45 kB / 0.5871 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.4872, allocations: 0.7188 kB / 0.5871 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.4872, allocations: 35.56 kB / 0.5872 GB, free: 1.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.4872, allocations: 0 / 0.5872 GB, free: 1.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005893/0.4878, allocations: 252.8 kB / 0.5874 GB, free: 1.496 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.4879, allocations: 84.48 kB / 0.5875 GB, free: 1.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.488, allocations: 149.3 kB / 0.5876 GB, free: 1.281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.4881, allocations: 27.05 kB / 0.5876 GB, free: 1.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.4881, allocations: 90.42 kB / 0.5877 GB, free: 1.164 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.4882, allocations: 14 kB / 0.5877 GB, free: 1.152 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.4882, allocations: 17.84 kB / 0.5878 GB, free: 1.137 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.817e-05/0.4883, allocations: 323.3 kB / 0.5881 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.4885, allocations: 102 kB / 0.5882 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.4887, allocations: 105.8 kB / 0.5883 GB, free: 0.793 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.4891, allocations: 273.2 kB / 0.5885 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4891, allocations: 4.875 kB / 0.5885 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000491/0.4896, allocations: 327.2 kB / 0.5888 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/0.4897, allocations: 67.81 kB / 0.5889 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4897, allocations: 2.031 kB / 0.5889 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4897, allocations: 3.938 kB / 0.5889 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.4897, allocations: 0 / 0.5889 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4897, allocations: 2.125 kB / 0.5889 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.4899, allocations: 15.33 kB / 0.5889 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.4899, allocations: 8.547 kB / 0.5889 GB, free: 456 kB / 430.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.0001145/0.4901, allocations: 150.9 kB / 0.5891 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.4901, allocations: 11.16 kB / 0.5891 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.4901, allocations: 7.453 kB / 0.5891 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.4901, allocations: 0.6094 kB / 0.5891 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4901, allocations: 0 / 0.5891 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4901, allocations: 1.344 kB / 0.5891 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.4903, allocations: 176.5 kB / 0.5893 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4903, allocations: 0 / 0.5893 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-06/0.4903, allocations: 4.656 kB / 0.5893 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4903, allocations: 1.062 kB / 0.5893 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.4903, allocations: 6.672 kB / 0.5893 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4903, allocations: 0 / 0.5893 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4903, allocations: 0.625 kB / 0.5893 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.4908, allocations: 233.6 kB / 0.5895 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.92e-05/0.4909, allocations: 87.7 kB / 0.5896 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.4909, allocations: 1.625 kB / 0.5896 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.491, allocations: 9.281 kB / 0.5896 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.4911, allocations: 11.72 kB / 0.5896 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.4911, allocations: 1.906 kB / 0.5896 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.225e-05/0.4912, allocations: 110.1 kB / 0.5897 GB, free: 15.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4912, allocations: 0 / 0.5897 GB, free: 15.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.4917, allocations: 67.23 kB / 0.5898 GB, free: 15.75 MB / 446.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.0003639/0.492, allocations: 150.8 kB / 0.5899 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005151/0.4926, allocations: 369 kB / 0.5903 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4926, allocations: 4.062 kB / 0.5903 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.4928, allocations: 137.8 kB / 0.5904 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.4929, allocations: 9.516 kB / 0.5904 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.4934, allocations: 222 kB / 0.5906 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.4937, allocations: 0.6918 MB / 0.5913 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.174e-06/0.4937, allocations: 4.062 kB / 0.5913 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-06/0.4937, allocations: 7.438 kB / 0.5913 GB, free: 14.53 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4938, allocations: 1.375 kB / 0.5913 GB, free: 14.53 MB / 446.1 MB Notification: Performance of Templates: time 0.006674/0.5004, allocations: 1.913 MB / 0.5932 GB, free: 14.38 MB / 446.1 MB 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)