Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 106.2 kB / 16.37 MB, free: 6.477 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.001046/0.001047, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7966/0.7966, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.91 kB / 0.5068 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3824, allocations: 80.91 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002172/0.3846, allocations: 1.415 MB / 0.5871 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004459/0.3851, allocations: 252.3 kB / 0.5874 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.3851, allocations: 2 kB / 0.5874 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.3852, allocations: 0 / 0.5874 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.795e-05/0.3852, allocations: 5.188 kB / 0.5874 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.3855, allocations: 61.41 kB / 0.5875 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.389e-05/0.3856, allocations: 21.64 kB / 0.5875 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.404e-05/0.3857, allocations: 7.406 kB / 0.5875 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.3857, allocations: 11.5 kB / 0.5875 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.26e-05/0.3858, allocations: 11.58 kB / 0.5875 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.3858, allocations: 2.438 kB / 0.5875 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.3859, allocations: 60.5 kB / 0.5876 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.3859, allocations: 9.016 kB / 0.5876 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.3859, allocations: 6.656 kB / 0.5876 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.3861, allocations: 55.81 kB / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3861, allocations: 0.6562 kB / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3861, allocations: 0 / 0.5876 GB, free: 24.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.3861, allocations: 0.9062 kB / 0.5876 GB, free: 24.08 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003334/0.3864, allocations: 347.5 kB / 0.588 GB, free: 23.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3865, allocations: 10.45 kB / 0.588 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.3865, allocations: 3.062 kB / 0.588 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.086e-05/0.3866, allocations: 169.9 kB / 0.5881 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.3866, allocations: 2 kB / 0.5881 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.3866, allocations: 1.844 kB / 0.5881 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3868, allocations: 53.17 kB / 0.5882 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3868, allocations: 6.531 kB / 0.5882 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.3868, allocations: 5.312 kB / 0.5882 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3868, allocations: 0 / 0.5882 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.3869, allocations: 38.3 kB / 0.5882 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.3872, allocations: 242.6 kB / 0.5885 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.3873, allocations: 44.14 kB / 0.5885 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.3874, allocations: 27.2 kB / 0.5885 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/0.3879, allocations: 450.6 kB / 0.589 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.3879, allocations: 33.75 kB / 0.589 GB, free: 22.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3879, allocations: 0 / 0.589 GB, free: 22.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003197/0.3883, allocations: 84.45 kB / 0.5891 GB, free: 22.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.3883, allocations: 53.09 kB / 0.5891 GB, free: 22.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.905e-05/0.3883, allocations: 102.9 kB / 0.5892 GB, free: 22.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.3884, allocations: 26.83 kB / 0.5893 GB, free: 22.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.3884, allocations: 85.62 kB / 0.5893 GB, free: 22.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.3884, allocations: 9.875 kB / 0.5894 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.3884, allocations: 11.44 kB / 0.5894 GB, free: 22.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.3885, allocations: 318.3 kB / 0.5897 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.3886, allocations: 17.3 kB / 0.5897 GB, free: 21.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.3886, allocations: 14.2 kB / 0.5897 GB, free: 21.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.3888, allocations: 40.33 kB / 0.5897 GB, free: 21.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3888, allocations: 5.547 kB / 0.5897 GB, free: 21.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001642/0.389, allocations: 64.11 kB / 0.5898 GB, free: 21.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.389, allocations: 6.781 kB / 0.5898 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.389, allocations: 1.375 kB / 0.5898 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.389, allocations: 3.938 kB / 0.5898 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.785e-05/0.3891, allocations: 14.23 kB / 0.5898 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3891, allocations: 3.438 kB / 0.5898 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.3891, allocations: 7.703 kB / 0.5898 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.3892, allocations: 1.344 kB / 0.5898 GB, free: 21.79 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 5.122e-05/0.3892, allocations: 111.8 kB / 0.5899 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.3892, allocations: 5 kB / 0.5899 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.3894, allocations: 76.22 kB / 0.59 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3895, allocations: 0 / 0.59 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.3895, allocations: 2.031 kB / 0.59 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3895, allocations: 3.938 kB / 0.59 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.3896, allocations: 162 kB / 0.5902 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3896, allocations: 1.281 kB / 0.5902 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.3897, allocations: 10.08 kB / 0.5902 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3897, allocations: 1.156 kB / 0.5902 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3897, allocations: 1.531 kB / 0.5902 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3897, allocations: 0 / 0.5902 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3897, allocations: 1.969 kB / 0.5902 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.3899, allocations: 167.9 kB / 0.5904 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.3899, allocations: 83.73 kB / 0.5904 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.3899, allocations: 0 / 0.5904 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.39, allocations: 8.266 kB / 0.5904 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.39, allocations: 2.438 kB / 0.5904 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.39, allocations: 1.281 kB / 0.5904 GB, free: 21.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.642e-05/0.3901, allocations: 78.53 kB / 0.5905 GB, free: 21.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3901, allocations: 2 kB / 0.5905 GB, free: 21.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000238/0.3903, allocations: 21.19 kB / 0.5905 GB, free: 21.06 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.000175/0.3905, allocations: 115.9 kB / 0.5907 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.3907, allocations: 39.48 kB / 0.5907 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3907, allocations: 1.406 kB / 0.5907 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.3908, allocations: 23.23 kB / 0.5907 GB, free: 20.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.391, allocations: 8.406 kB / 0.5907 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.3913, allocations: 104.9 kB / 0.5908 GB, free: 20.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.3914, allocations: 0.6767 MB / 0.5915 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.963e-05/0.3914, allocations: 3.688 kB / 0.5915 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.3915, allocations: 8.719 kB / 0.5915 GB, free: 20.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3915, allocations: 0 / 0.5915 GB, free: 20.12 MB / 446.1 MB Notification: Performance of Templates: time 0.00268/0.3941, allocations: 0.662 MB / 0.5921 GB, free: 19.59 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)