Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.001208/0.001208, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8027/0.8027, allocations: 132.2 MB / 423.2 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001636, allocations: 63.91 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3826, allocations: 80.19 MB / 0.5807 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.003075/0.3857, allocations: 1.423 MB / 0.5821 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004909/0.3862, allocations: 260.8 kB / 0.5824 GB, free: 26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.3862, allocations: 2.312 kB / 0.5824 GB, free: 26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.3862, allocations: 3.938 kB / 0.5824 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.3863, allocations: 4.812 kB / 0.5824 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.3867, allocations: 67.36 kB / 0.5824 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.306e-05/0.3867, allocations: 13.59 kB / 0.5825 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.3868, allocations: 12.3 kB / 0.5825 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.3869, allocations: 7.938 kB / 0.5825 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.435e-05/0.3869, allocations: 14.78 kB / 0.5825 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.3869, allocations: 1.406 kB / 0.5825 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.387, allocations: 61.86 kB / 0.5826 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.3871, allocations: 3.984 kB / 0.5826 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.3871, allocations: 11.09 kB / 0.5826 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.3872, allocations: 56.3 kB / 0.5826 GB, free: 25.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3872, allocations: 0.5938 kB / 0.5826 GB, free: 25.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3872, allocations: 1.062 kB / 0.5826 GB, free: 25.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3872, allocations: 0.625 kB / 0.5826 GB, free: 25.84 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.0003913/0.3876, allocations: 346.3 kB / 0.583 GB, free: 25.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3877, allocations: 13.3 kB / 0.583 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.3877, allocations: 8.156 kB / 0.583 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.32e-05/0.3878, allocations: 165.7 kB / 0.5831 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.3878, allocations: 0.875 kB / 0.5831 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3878, allocations: 2.219 kB / 0.5831 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.388, allocations: 51.98 kB / 0.5832 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.388, allocations: 192 / 0.5832 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.388, allocations: 4.719 kB / 0.5832 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3881, allocations: 0 / 0.5832 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.3882, allocations: 36.3 kB / 0.5832 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.3885, allocations: 250.4 kB / 0.5835 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3886, allocations: 39.75 kB / 0.5835 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.3887, allocations: 27.55 kB / 0.5835 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/0.3893, allocations: 453 kB / 0.584 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.3893, allocations: 37.42 kB / 0.584 GB, free: 24.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3893, allocations: 7.875 kB / 0.584 GB, free: 24.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000359/0.3897, allocations: 83.19 kB / 0.5841 GB, free: 24.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/0.3897, allocations: 52.53 kB / 0.5841 GB, free: 24.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.919e-05/0.3898, allocations: 102.2 kB / 0.5842 GB, free: 24.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.3898, allocations: 26.95 kB / 0.5843 GB, free: 24.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.3898, allocations: 80.14 kB / 0.5843 GB, free: 23.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.3898, allocations: 7.594 kB / 0.5843 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.3899, allocations: 20.02 kB / 0.5844 GB, free: 23.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.235e-05/0.3899, allocations: 311.8 kB / 0.5847 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.39, allocations: 17.52 kB / 0.5847 GB, free: 23.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.197e-05/0.3901, allocations: 16.08 kB / 0.5847 GB, free: 23.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.3902, allocations: 39.66 kB / 0.5847 GB, free: 23.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3902, allocations: 0 / 0.5847 GB, free: 23.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002203/0.3905, allocations: 71.33 kB / 0.5848 GB, free: 23.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3905, allocations: 8 kB / 0.5848 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3905, allocations: 3.984 kB / 0.5848 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3905, allocations: 0 / 0.5848 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.3906, allocations: 11.73 kB / 0.5848 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3906, allocations: 0 / 0.5848 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.3907, allocations: 13.02 kB / 0.5848 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.3907, allocations: 0 / 0.5848 GB, free: 23.54 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 4.494e-05/0.3908, allocations: 113.5 kB / 0.5849 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.3908, allocations: 6.281 kB / 0.5849 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.391, allocations: 75.25 kB / 0.585 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.391, allocations: 0 / 0.585 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.391, allocations: 5.047 kB / 0.585 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.391, allocations: 1.25 kB / 0.585 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.3911, allocations: 157.7 kB / 0.5852 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3912, allocations: 1.438 kB / 0.5852 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.598e-05/0.3912, allocations: 14.7 kB / 0.5852 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3912, allocations: 0 / 0.5852 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3912, allocations: 3.062 kB / 0.5852 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3912, allocations: 0 / 0.5852 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3912, allocations: 0 / 0.5852 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.3914, allocations: 166.3 kB / 0.5853 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.3915, allocations: 78.61 kB / 0.5854 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.3915, allocations: 3.938 kB / 0.5854 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.3916, allocations: 7.984 kB / 0.5854 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.3916, allocations: 5.188 kB / 0.5854 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3916, allocations: 2.688 kB / 0.5854 GB, free: 22.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.052e-05/0.3916, allocations: 77.66 kB / 0.5855 GB, free: 22.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3916, allocations: 1.438 kB / 0.5855 GB, free: 22.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.3919, allocations: 25.42 kB / 0.5855 GB, free: 22.8 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.0001865/0.3921, allocations: 118.1 kB / 0.5857 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.3923, allocations: 36.89 kB / 0.5857 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3924, allocations: 0.5 kB / 0.5857 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.3925, allocations: 17.08 kB / 0.5857 GB, free: 22.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3927, allocations: 9.625 kB / 0.5857 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.3929, allocations: 143.2 kB / 0.5859 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.078e-05/0.3931, allocations: 0.6785 MB / 0.5865 GB, free: 21.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.3931, allocations: 8.75 kB / 0.5865 GB, free: 21.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3931, allocations: 1.25 kB / 0.5865 GB, free: 21.82 MB / 446.1 MB Notification: Performance of Templates: time 0.002129/0.3952, allocations: 0.772 MB / 0.5873 GB, free: 21.47 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)