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.001034/0.001034, allocations: 108.7 kB / 15.99 MB, free: 6.359 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.0009874/0.0009874, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.283/1.283, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8712/0.8712, allocations: 132.2 MB / 422.9 MB, free: 6.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 67.89 kB / 0.5019 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4103, allocations: 80.18 MB / 0.5802 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001929/0.4123, allocations: 0.6764 MB / 0.5809 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.414, allocations: 1.385 MB / 0.5822 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.4141, allocations: 0 / 0.5822 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.818e-05/0.4141, allocations: 2.281 kB / 0.5822 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.253e-05/0.4142, allocations: 6.281 kB / 0.5822 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006882/0.4149, allocations: 156.1 kB / 0.5824 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.415, allocations: 53.67 kB / 0.5824 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.4151, allocations: 5.078 kB / 0.5824 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.061e-05/0.4151, allocations: 21.92 kB / 0.5825 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.4152, allocations: 20.92 kB / 0.5825 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.4152, allocations: 3.5 kB / 0.5825 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.4155, allocations: 205.3 kB / 0.5827 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.4155, allocations: 9 kB / 0.5827 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.4156, allocations: 34.33 kB / 0.5827 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.4157, allocations: 121.8 kB / 0.5828 GB, free: 25.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4158, allocations: 2.719 kB / 0.5828 GB, free: 25.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4158, allocations: 0 / 0.5828 GB, free: 25.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.4158, allocations: 0 / 0.5828 GB, free: 25.7 MB / 446.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.0003559/0.4161, allocations: 445.6 kB / 0.5833 GB, free: 25.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4162, allocations: 11.53 kB / 0.5833 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.4162, allocations: 7.062 kB / 0.5833 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.005e-05/0.4163, allocations: 165 kB / 0.5834 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4163, allocations: 4.562 kB / 0.5835 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.4164, allocations: 6.891 kB / 0.5835 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.4165, allocations: 97.17 kB / 0.5836 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4166, allocations: 0.625 kB / 0.5836 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.4166, allocations: 5.109 kB / 0.5836 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4166, allocations: 1.062 kB / 0.5836 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.4167, allocations: 64.8 kB / 0.5836 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.4168, allocations: 178.1 kB / 0.5838 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.68e-05/0.4169, allocations: 81.69 kB / 0.5839 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.417, allocations: 69.8 kB / 0.5839 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.417, allocations: 2 kB / 0.5839 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.417, allocations: 43.8 kB / 0.584 GB, free: 24.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.417, allocations: 0 / 0.584 GB, free: 24.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003619/0.4174, allocations: 258.2 kB / 0.5842 GB, free: 24.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.4174, allocations: 81.39 kB / 0.5843 GB, free: 24.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.698e-05/0.4175, allocations: 144.2 kB / 0.5844 GB, free: 24.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.4176, allocations: 26.86 kB / 0.5845 GB, free: 24.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.4176, allocations: 91.05 kB / 0.5846 GB, free: 24.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.4176, allocations: 15.3 kB / 0.5846 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.4177, allocations: 26.09 kB / 0.5846 GB, free: 24.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.4177, allocations: 322 kB / 0.5849 GB, free: 23.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.4178, allocations: 100.5 kB / 0.585 GB, free: 23.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.418, allocations: 109.2 kB / 0.5851 GB, free: 23.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.4182, allocations: 275.4 kB / 0.5854 GB, free: 23.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4182, allocations: 1.125 kB / 0.5854 GB, free: 23.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003642/0.4186, allocations: 330.5 kB / 0.5857 GB, free: 23.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.4187, allocations: 66.39 kB / 0.5857 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4187, allocations: 4.719 kB / 0.5857 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4187, allocations: 1.375 kB / 0.5857 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.4187, allocations: 0.625 kB / 0.5857 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4187, allocations: 0 / 0.5857 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.4189, allocations: 14.05 kB / 0.5858 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.4189, allocations: 9.156 kB / 0.5858 GB, free: 23.33 MB / 446.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 9.165e-05/0.419, allocations: 147.4 kB / 0.5859 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.4191, allocations: 12.5 kB / 0.5859 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.325e-05/0.4191, allocations: 5.625 kB / 0.5859 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4191, allocations: 1.344 kB / 0.5859 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4191, allocations: 1.719 kB / 0.5859 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4191, allocations: 0 / 0.5859 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.36e-05/0.4192, allocations: 178.7 kB / 0.5861 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4192, allocations: 0 / 0.5861 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-06/0.4192, allocations: 3.938 kB / 0.5861 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.4192, allocations: 1.125 kB / 0.5861 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4192, allocations: 2.375 kB / 0.5861 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4192, allocations: 0 / 0.5861 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4192, allocations: 1.844 kB / 0.5861 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.4195, allocations: 234.5 kB / 0.5863 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.4195, allocations: 87.61 kB / 0.5864 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.4195, allocations: 6.891 kB / 0.5864 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.535e-05/0.4196, allocations: 6.719 kB / 0.5864 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.4197, allocations: 8.188 kB / 0.5864 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.4197, allocations: 10.67 kB / 0.5864 GB, free: 22.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.678e-05/0.4198, allocations: 109.2 kB / 0.5866 GB, free: 22.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4198, allocations: 0 / 0.5866 GB, free: 22.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.4201, allocations: 65.36 kB / 0.5866 GB, free: 22.59 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.0002535/0.4203, allocations: 144.2 kB / 0.5868 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003759/0.4207, allocations: 377.9 kB / 0.5871 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4207, allocations: 3.938 kB / 0.5871 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.4209, allocations: 142 kB / 0.5872 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.421, allocations: 3.406 kB / 0.5873 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.4213, allocations: 246.5 kB / 0.5875 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.4215, allocations: 0.6941 MB / 0.5882 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-06/0.4215, allocations: 8.688 kB / 0.5882 GB, free: 21.25 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4215, allocations: 0 / 0.5882 GB, free: 21.25 MB / 446.1 MB Notification: Performance of Templates: time 0.00305/0.4246, allocations: 1.665 MB / 0.5898 GB, free: 20.31 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)