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.008738/0.008738, allocations: 104.5 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.002027/0.002028, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8192/0.8192, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 72.69 kB / 0.5814 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1846, allocations: 80.21 MB / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001821/0.1864, allocations: 0.6069 MB / 0.6603 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1884, allocations: 1.383 MB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.1885, allocations: 3.938 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.221e-05/0.1885, allocations: 3.984 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.1886, allocations: 4 kB / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.1892, allocations: 185.4 kB / 0.6619 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1894, allocations: 47.91 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.1894, allocations: 0 / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.1895, allocations: 15.98 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.824e-05/0.1895, allocations: 35.84 kB / 0.662 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1895, allocations: 0 / 0.662 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.1899, allocations: 207.7 kB / 0.6621 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.1899, allocations: 11.94 kB / 0.6622 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.19, allocations: 23.86 kB / 0.6622 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.1903, allocations: 195.5 kB / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1903, allocations: 4 kB / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1903, allocations: 0 / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1903, allocations: 0 / 0.6624 GB, free: 10.73 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.0004526/0.1907, allocations: 434.7 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1908, allocations: 8.031 kB / 0.6628 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.1908, allocations: 8.844 kB / 0.6628 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.191, allocations: 180.2 kB / 0.663 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.191, allocations: 4.375 kB / 0.663 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.191, allocations: 384 / 0.663 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1912, allocations: 102 kB / 0.6631 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1912, allocations: 0 / 0.6631 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1912, allocations: 0 / 0.6631 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1912, allocations: 4 kB / 0.6631 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.564e-05/0.1913, allocations: 63.89 kB / 0.6631 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.1915, allocations: 165.7 kB / 0.6633 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.1916, allocations: 86.52 kB / 0.6634 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.1917, allocations: 68.83 kB / 0.6634 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-06/0.1917, allocations: 4 kB / 0.6635 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1917, allocations: 38.5 kB / 0.6635 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1917, allocations: 0 / 0.6635 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0004052/0.1922, allocations: 255.1 kB / 0.6637 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1922, allocations: 77.11 kB / 0.6638 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1924, allocations: 147.5 kB / 0.6639 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1924, allocations: 29.7 kB / 0.664 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.1924, allocations: 100.1 kB / 0.6641 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.1925, allocations: 7.906 kB / 0.6641 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.1925, allocations: 25.72 kB / 0.6641 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1927, allocations: 318.8 kB / 0.6644 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1928, allocations: 103.9 kB / 0.6645 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1929, allocations: 99.94 kB / 0.6646 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.1932, allocations: 277.8 kB / 0.6649 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1932, allocations: 0 / 0.6649 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003514/0.1936, allocations: 327.8 kB / 0.6652 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.763e-05/0.1936, allocations: 75.45 kB / 0.6653 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1937, allocations: 0 / 0.6653 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1937, allocations: 0 / 0.6653 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.1937, allocations: 7.938 kB / 0.6653 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1937, allocations: 3.984 kB / 0.6653 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.1938, allocations: 15.83 kB / 0.6653 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1939, allocations: 4 kB / 0.6653 GB, free: 7.465 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 0.0001223/0.194, allocations: 151.5 kB / 0.6654 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.194, allocations: 11.84 kB / 0.6654 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/0.194, allocations: 8.25 kB / 0.6654 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.194, allocations: 0 / 0.6654 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.194, allocations: 0 / 0.6654 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1941, allocations: 4 kB / 0.6654 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.1942, allocations: 169.8 kB / 0.6656 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1942, allocations: 4 kB / 0.6656 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-06/0.1942, allocations: 7.938 kB / 0.6656 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1942, allocations: 3.984 kB / 0.6656 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1942, allocations: 3.984 kB / 0.6656 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1942, allocations: 0 / 0.6656 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1942, allocations: 7.938 kB / 0.6656 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.1945, allocations: 226.6 kB / 0.6659 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.1945, allocations: 92.94 kB / 0.6659 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.1946, allocations: 0 / 0.6659 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.316e-05/0.1946, allocations: 4 kB / 0.6659 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.1947, allocations: 11.98 kB / 0.666 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.1947, allocations: 0 / 0.666 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.577e-05/0.1948, allocations: 117.5 kB / 0.6661 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1948, allocations: 0 / 0.6661 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002603/0.195, allocations: 60 kB / 0.6661 GB, free: 6.484 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.0002742/0.1953, allocations: 155.2 kB / 0.6663 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004594/0.1958, allocations: 370.6 kB / 0.6666 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1958, allocations: 0 / 0.6666 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1959, allocations: 139.3 kB / 0.6668 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.1961, allocations: 4 kB / 0.6668 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.1964, allocations: 209.6 kB / 0.667 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1967, allocations: 0.6924 MB / 0.6676 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.322e-06/0.1967, allocations: 0 / 0.6676 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.011e-05/0.1967, allocations: 11.44 kB / 0.6677 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1967, allocations: 0 / 0.6677 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.004891/0.2016, allocations: 2.038 MB / 0.6696 GB, free: 2.789 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)