Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001173/0.001173, allocations: 103.8 kB / 16.27 MB, free: 5.984 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.001216/0.001216, allocations: 191.2 kB / 17.2 MB, free: 5.609 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.83/0.83, allocations: 135.1 MB / 426.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 59.91 kB / 0.506 GB, free: 8.383 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3768, allocations: 80.91 MB / 0.585 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002294/0.3791, allocations: 1.417 MB / 0.5864 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004427/0.3796, allocations: 263.1 kB / 0.5866 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.3796, allocations: 0 / 0.5866 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.3796, allocations: 0.7188 kB / 0.5866 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.3797, allocations: 5.5 kB / 0.5867 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.38, allocations: 67.17 kB / 0.5867 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.364e-05/0.3801, allocations: 21.34 kB / 0.5867 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.339e-05/0.3802, allocations: 7.766 kB / 0.5867 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.893e-05/0.3802, allocations: 11.62 kB / 0.5868 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.644e-05/0.3803, allocations: 7.922 kB / 0.5868 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.3803, allocations: 2.75 kB / 0.5868 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.3804, allocations: 64.45 kB / 0.5868 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.799e-06/0.3804, allocations: 4 kB / 0.5868 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.3805, allocations: 10.78 kB / 0.5868 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.3806, allocations: 57.48 kB / 0.5869 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3806, allocations: 1.094 kB / 0.5869 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3806, allocations: 0 / 0.5869 GB, free: 23.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.3806, allocations: 0 / 0.5869 GB, free: 23.85 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.0003731/0.381, allocations: 351.3 kB / 0.5872 GB, free: 23.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.381, allocations: 10.8 kB / 0.5872 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.3811, allocations: 2.469 kB / 0.5872 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.513e-05/0.3812, allocations: 170.7 kB / 0.5874 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3812, allocations: 384 / 0.5874 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.3812, allocations: 3.688 kB / 0.5874 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3814, allocations: 49.48 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-06/0.3814, allocations: 192 / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.3814, allocations: 5.344 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3814, allocations: 0.6562 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.3816, allocations: 39.8 kB / 0.5875 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.3818, allocations: 250 kB / 0.5877 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.382, allocations: 40.84 kB / 0.5878 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.525e-05/0.3821, allocations: 22.67 kB / 0.5878 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/0.3826, allocations: 461.2 kB / 0.5882 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.3826, allocations: 32.75 kB / 0.5883 GB, free: 22.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.3827, allocations: 0 / 0.5883 GB, free: 22.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003381/0.383, allocations: 87.14 kB / 0.5884 GB, free: 22.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.383, allocations: 55.34 kB / 0.5884 GB, free: 22.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.476e-05/0.3831, allocations: 96.48 kB / 0.5885 GB, free: 22.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-06/0.3831, allocations: 25.7 kB / 0.5885 GB, free: 22.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.279e-05/0.3831, allocations: 86.33 kB / 0.5886 GB, free: 22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.3831, allocations: 8.609 kB / 0.5886 GB, free: 21.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.3832, allocations: 13.72 kB / 0.5886 GB, free: 21.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.3832, allocations: 320.2 kB / 0.5889 GB, free: 21.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.3833, allocations: 13.83 kB / 0.5889 GB, free: 21.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.3834, allocations: 17.45 kB / 0.589 GB, free: 21.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3835, allocations: 44.72 kB / 0.589 GB, free: 21.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3835, allocations: 0.5938 kB / 0.589 GB, free: 21.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001801/0.3837, allocations: 70.09 kB / 0.5891 GB, free: 21.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3838, allocations: 9.219 kB / 0.5891 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3838, allocations: 0 / 0.5891 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3838, allocations: 1.469 kB / 0.5891 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.3839, allocations: 5.344 kB / 0.5891 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3839, allocations: 0 / 0.5891 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.3839, allocations: 10.58 kB / 0.5891 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.3839, allocations: 1.125 kB / 0.5891 GB, free: 21.56 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.363e-05/0.384, allocations: 116.2 kB / 0.5892 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.384, allocations: 5.25 kB / 0.5892 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.3842, allocations: 76.05 kB / 0.5893 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3843, allocations: 0 / 0.5893 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.3843, allocations: 3.906 kB / 0.5893 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3843, allocations: 4 kB / 0.5893 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.3844, allocations: 158.2 kB / 0.5894 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3844, allocations: 0 / 0.5894 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.3845, allocations: 10.11 kB / 0.5895 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3845, allocations: 0 / 0.5895 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3845, allocations: 1.844 kB / 0.5895 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3845, allocations: 2.219 kB / 0.5895 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3845, allocations: 0 / 0.5895 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.3847, allocations: 168.3 kB / 0.5896 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.3847, allocations: 78.23 kB / 0.5897 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.3847, allocations: 3.281 kB / 0.5897 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.3848, allocations: 6.641 kB / 0.5897 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.3849, allocations: 9.297 kB / 0.5897 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.3849, allocations: 5.469 kB / 0.5897 GB, free: 20.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.02e-05/0.3849, allocations: 83.64 kB / 0.5898 GB, free: 20.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3849, allocations: 0 / 0.5898 GB, free: 20.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.3851, allocations: 13.62 kB / 0.5898 GB, free: 20.83 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.0001727/0.3853, allocations: 116.9 kB / 0.5899 GB, free: 20.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.3855, allocations: 35.69 kB / 0.59 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3856, allocations: 0 / 0.59 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.505e-05/0.3856, allocations: 24.98 kB / 0.59 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.3859, allocations: 10.45 kB / 0.59 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.3861, allocations: 133.3 kB / 0.5901 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.36e-05/0.3862, allocations: 0.6789 MB / 0.5908 GB, free: 19.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.3862, allocations: 13.03 kB / 0.5908 GB, free: 19.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3863, allocations: 2.344 kB / 0.5908 GB, free: 19.85 MB / 446.1 MB Notification: Performance of Templates: time 0.001947/0.3882, allocations: 0.7672 MB / 0.5915 GB, free: 19.46 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)